[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2
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
Reply


Messages In This Thread
Who's Watching is empty? - by RiverBend - 2015-01-08, 18:55
Full-screen mode - by oakertood - 2015-03-29, 01:08
25% - by Mattlock - 2015-07-06, 03:56
Additional/Original Browser Option? - by durv - 2015-09-07, 05:07
[RELEASE] NetfliXBMC - EMPTY LISTS - by Nibar - 2015-12-08, 03:38
RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - by sirhcjw - 2015-12-30, 23:08
Logout Mark Read Team Forum Stats Members Help
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 217