[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux)
Great plugin, works well on Ubuntu. I was able to perfect it by mapping some xdotools scripts to unused buttons on my MCE remote on Linux. I think it might be a good idea to have a configurable file for instructions to send in the try statement here: https://code.google.com/p/addonscriptord...ult.py#393

The default logic doesn't work for me because I am not in windowed mode. I hand-modified the code to leave windowed mode, Alt+Tab to switch to Chrome, then F11 to full screen as Kiosk does not work. The 'kiosk' command is supposed to be --app=some_netfilx_url on my version of chrome.

For those interested here is my configuration using lirc, irexec, and xdotools:

~/.lircrc
Code:
begin
remote = *
prog = irexec
button = KEY_CLEAR
config = /home/username/bin/alttab.sh &
repeat = 0
delay = 0
end

begin
remote = *
prog = irexec
button = KEY_ENTER
config = /home/username/bin/altf4.sh &
repeat = 0
delay = 0
end

begin
remote = *
prog = irexec
button = Star
config = /home/username/bin/playpause.sh &
repeat = 0
delay = 0
end

playpause.sh
Code:
#!/bin/bash
xdotool mousemove 0 5500 click 1 # hide mouse and click on window to make keyboard shortcuts work
xdotool key space # play/pause toggle
exit

alttab.sh
Code:
#!/bin/bash
xdotool key backslash # switch to windowed xbmc
xdotool key Alt+Tab # switch to chrome (assuming xbmc and chrome are the only apps running)
xdotool key F11 # full screen chrome
exit

altf4.sh
Code:
#!/bin/bash
xdotool key Alt+F4 # close chrome
sleep 3 # wait 3 seconds
xdotool key backslash # full screen xbmc
exit
Reply


Messages In This Thread
RE: [RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux) - by foomanshoe - 2014-01-02, 06:41
Search empty? - by cgrey - 2014-01-11, 06:13
Not working on windows 7 - by dandiodati - 2014-02-26, 21:55
Problems with this addon - by builderjer - 2014-11-30, 19:55
Logout Mark Read Team Forum Stats Members Help
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux)7