Quit XBMC when TV is off
|
10th May, 2013, 09:44 AM
Post: #1
|
|||
|
|||
Quit XBMC when TV is off
For the XBian maintainers: for the next XBMC release, can you modify/add the option to quit XBMC when turning off the TV?
Currently you have the option to suspend the PC when turning off the TV, it results in a call to application.Suspend() in peripherals.cpp, however I want the pi on all the time (I also have LAMP installed, check out http://renarin.zapto.org for statistics on my pi usage). Or you can modify the source to quit on "suspend_devices_advanced" XML option, which takes a list of deviced to suspend and is not currently wired in the XBMC GUI, or used that much for that matter by anyone. Modifying remote.xml is not working for the power button - I can assign XBMC.Quit() to any other button and it works, but not the power button. I've tried to make a CEC daemon to command XBMC, and noticed that pressing the power button results in a call to the CBCecCommand, but no call to CBCecKeyPress. The problem with the daemon is that when quitting XBMC, it stops getting any CEC traffic (although it starts working again when starting XBMC), but more importantly it stops responding (although it continues to run and show traffic after restarting XBMC, it will not quit, not even with CTRL-C). I'm guessing the XBMC cec client is adding a new recording device and de-registering my daemon. Any other suggestion to try and quit XBMC when powering off the TV? I've tried everything, and could not see other way than modifying the XBMC source. |
|||
« Next Oldest | Next Newest »
|