XBMC event based commands
|
23rd Oct, 2014, 04:15 AM
Post: #5
|
|||
|
|||
RE: XBMC event based commands
Copy xbian-xbmc-player.conf to, for example, xbmc-json-lights.conf (sudo cp xbian-xbmc-player.conf xbmcplayer-json-lights.conf).
Then delete everything between "pre-start script" and "end script", the same applies for "post-stop script"/"end script" (you'd need sudo to modify it: sudo nano xbmcplayer-json-lights.conf). "pre-start script" is executed when the playback starts (or unpaused) and "post-stop script" when the playback ends. The shell commands to control your lights (I can't really help on this, check your documentation) should be added between "pre-start/post-stop script" and "end script". If you want to execute the same commands when the playback is paused you'd need to change the line: stop on player ACTION=STOP to: stop on player ACTION=STOP or player ACTION=PAUSE |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
XBMC event based commands - Calzor Suzay - 21st Oct, 2014, 11:40 PM
RE: XBMC event based commands - menakite - 22nd Oct, 2014, 12:05 AM
RE: XBMC event based commands - Calzor Suzay - 22nd Oct, 2014, 01:20 AM
RE: XBMC event based commands - Calzor Suzay - 23rd Oct, 2014, 02:38 AM
RE: XBMC event based commands - menakite - 23rd Oct, 2014 04:15 AM
RE: XBMC event based commands - Calzor Suzay - 23rd Oct, 2014, 10:19 PM
|