[RELEASE] Flix2Kodi - Just another Netflix-Addon
Quote:- Kodibuntu (and other Linux distrubutions) without window-manager?

sirhcjw posted the following lines:
(2015-12-30, 23:08)sirhcjw Wrote: All working like a charm for me now thanks for all the hard work.

Anyone on kodibuntu to get this working in full screen just install blackbox window manager and official chrome browser

Then make these changes to the launchBrowser.sh script on my instalation the path is

.kodi/addons/plugin.video.netflix/resources/launchBrowser.sh

Code:
#!/bin/bash

# copy from https://github.com/andrewleech/plugin.video.netflixbmc/blob/master/browser.sh

# Managed to resolve the issues with, but will leave this here anyway, as its a good fallback
CHROME_STARTED=`ps -ef | grep google-chrome | grep -v "grep" | wc -l`
if [ $CHROME_STARTED -gt 0 ]; then
        exit 1;
fi

# lets find out if xdotool actually exist before we try to call it
command -v xdotool >/dev/null 2>&1
XDOTOOL=$?

url=$1

# start window manager to make fullscreen work
/usr/bin/blackbox &

# move mouse pointer to bottom right of screen
if [ $XDOTOOL -eq 0 ]; then
        # no point sleeping if xdotool is not installed.
        #sleep 5
        xdotool mousemove 9999 9999 click 1
else
        echo "xdotool is not installed, can't remove cursor"
fi

# notice no ampersand to keep google chrome in front so remote works
/usr/bin/google-chrome --start-maximized --disable-translate --disable-new-tab-first-run --no-default-browser-check --no-first-run --kiosk "$url"

# kill window manager so we exit back to kodi
killall blackbox >/dev/null 2>&1

Can't find the launchBrowser.sh. Do I need to create it or modify a different file?
No Agenda Show - The best podcast in the universe!
Reply


Messages In This Thread
RE: [RELEASE] Flix2Kodi - Just another Netflix-Addon - by laukarlueng - 2016-03-03, 10:00
No access to TV show data - by seriousjohn - 2016-11-03, 19:01
Flix2kodi <crashed> - by Garri - 2016-01-08, 19:29
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Flix2Kodi - Just another Netflix-Addon8