For anyone running this on Linux and trying to make their remote control work with it, here's what I've done.
First, set Chrome Launcher set to run this script on a 2 second delay:
Code:
#!/bin/bash
killall -9 chrome
openbox &
sed -i 's/Crashed/None/g' ~/.config/google-chrome/Default/Preferences
irexec -d
Create .lircrc in your home folder with these contents:
Code:
begin
prog = irexec
button = KEY_STOP
config = /home/xbmc/stopflix.sh
end
begin
prog = irexec
button = KEY_PAUSE
config = xdotool key space
end
begin
prog = irexec
button = KEY_PLAY
config = xdotool key space
end
begin
prog = irexec
button = KEY_OK
config = xdotool key space
end
begin
prog = irexec
button = KEY_FORWARD
config = xdotool key Right
end
begin
prog = irexec
button = KEY_REWIND
config = xdotool key Left
end
I suspect the button map will be similar for everyone, you can test that by running irw and pressing buttons on your remote.
My stopflix.sh script does this:
Code:
#!/bin/bash
WID=`xdotool search --name chrome | tail -n 1`
xdotool windowactivate $WID key alt+F4
killall -9 -I chrome
killall -9 -I openbox
killall -9 -I irexec
/opt/wine-compholio/bin/wineserver -k
killall -9 -I explorer.exe
killall -9 -I plugplay.exe
killall -9 -I winedevice.exe
killall -9 -I services.exe
killall -9 -I wineserver
killall -9 -I pluginloader.exe
The one feature I wish this Add-on has would be checking off content you've already watched - I can't even imagine how you'd implement that one...
If anyone knows if there is a keyboard shortcut to enable/disable subs in the Silverlight player that'd be useful..