read out XBMC play, pause stop status
|
26th Jan, 2014, 03:44 AM
Post: #5
|
|||
|
|||
RE: read out XBMC play, pause stop status
(26th Jan, 2014 03:26 AM)mk01 Wrote: then start with something like thisokay, how to start it? sudo ./ says commands not found when i took a look at the event file i saw you could specify the type playing (tv show movie audio) then i can set that playing movie won't kill the lights, and if i want to set another value like pause , would it be if [ $ACTION = START ]; then echo "Video Playing, dimming ligths!" kaku 123 1 dim 4 elseif [$ACTION = PAUSE]; then echo "video paused, brighting lights!" kaku 123 1 dim 7 else echo "Video Stopped, brighting ligths!" kaku 123 1 dim 8; fi i know that in this case it doesn't matter much but its more for understanding what i write... Thanks a lot |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[IDEA] Start/stop XBMC from web gui | Fred | 8 | 29,955 |
11th Apr, 2013 10:41 PM Last Post: wuschl |