Quit XBMC when TV is off
|
10th May, 2013, 03:47 PM
Post: #4
|
|||
|
|||
RE: Quit XBMC when TV is off
i checked xbmc sources and there is some space to provide this.
During receiving of CEC_STANDBY event, check is performed agains the parameters from rpi_cec xml file. pc_standby_if_tv_standby is checked for 1, then .Suspend() message is sent. Easy patch would add second line of tests, let's say comparing this parameter to '2', what would trigger .Quit() instead. But then It would be standard exit with result code 0. So, even better would be create new result code (different are defined for REBOOT, SHUTDOWN) like WAITCEC. For beta1, start job for XBMC is already this aware, so it would be just one test more for result code where you then put your "CEC wait for signal program". Feel free to provide the patch and send to Koennk. https://github.com/xbianonpi/xbian/issues/371 I opened issue, created patch (not tested) and copied it to the issue. You task now is approach koennk, coordinate with him during nightly compilation to include the patch, then download the specific build and test it. during test: in rpi_2708_1001.xml "standby_pc_on_tv_standby" should be set to 2. XBMC should exit with return code 50. mk Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|