Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Quit XBMC when TV is off
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Quit XBMC when TV is off
10th May, 2013, 03:47 PM
Post: #4
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
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
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Quit XBMC when TV is off - mihailescu2m - 10th May, 2013, 09:44 AM
RE: Quit XBMC when TV is off - mk01 - 10th May, 2013, 02:08 PM
RE: Quit XBMC when TV is off - mihailescu2m - 10th May, 2013, 03:17 PM
RE: Quit XBMC when TV is off - LeoSum - 14th Mar, 2014, 04:47 AM
RE: Quit XBMC when TV is off - mk01 - 10th May, 2013 03:47 PM
RE: Quit XBMC when TV is off - mihailescu2m - 10th May, 2013, 04:38 PM
RE: Quit XBMC when TV is off - Koenkk - 10th May, 2013, 09:54 PM
RE: Quit XBMC when TV is off - mihailescu2m - 14th May, 2013, 09:08 PM
RE: Quit XBMC when TV is off - mk01 - 14th May, 2013, 11:40 PM
RE: Quit XBMC when TV is off - mihailescu2m - 14th May, 2013, 11:45 PM
RE: Quit XBMC when TV is off - mihailescu2m - 15th May, 2013, 09:07 PM
RE: Quit XBMC when TV is off - mk01 - 19th May, 2013, 02:48 PM
RE: Quit XBMC when TV is off - mihailescu2m - 19th May, 2013, 07:23 PM
RE: Quit XBMC when TV is off - mk01 - 20th May, 2013, 12:40 AM
RE: Quit XBMC when TV is off - mihailescu2m - 23rd May, 2013, 05:33 PM
RE: Quit XBMC when TV is off - mk01 - 26th May, 2013, 10:44 AM
RE: Quit XBMC when TV is off - mihailescu2m - 26th May, 2013, 08:53 PM
RE: Quit XBMC when TV is off - mk01 - 26th May, 2013, 09:17 PM
Quit XBMC when TV is off - Koenkk - 26th May, 2013, 09:26 PM
RE: Quit XBMC when TV is off - mk01 - 26th May, 2013, 09:34 PM
Quit XBMC when TV is off - Koenkk - 26th May, 2013, 09:35 PM
RE: Quit XBMC when TV is off - mk01 - 26th May, 2013, 09:38 PM
RE: Quit XBMC when TV is off - jyviko - 15th Sep, 2013, 07:09 AM
RE: Quit XBMC when TV is off - Uncle_Tubbie - 27th May, 2013, 01:55 AM
RE: Quit XBMC when TV is off - mihailescu2m - 27th May, 2013, 08:34 AM
RE: Quit XBMC when TV is off - mk01 - 27th May, 2013, 08:32 AM
RE: Quit XBMC when TV is off - zilexa - 15th Jul, 2013, 06:21 PM
RE: Quit XBMC when TV is off - mk01 - 15th Sep, 2013, 09:45 AM
RE: Quit XBMC when TV is off - peibol16 - 16th Nov, 2013, 05:49 AM
RE: Quit XBMC when TV is off - rikardo1979 - 16th Nov, 2013, 06:32 AM
RE: Quit XBMC when TV is off - mk01 - 1st Nov, 2013, 07:51 PM
RE: Quit XBMC when TV is off - peibol16 - 19th Nov, 2013, 06:50 AM
RE: Quit XBMC when TV is off - Alex2108 - 25th Dec, 2013, 11:45 PM
RE: Quit XBMC when TV is off - IriDium - 26th Dec, 2013, 12:51 AM
RE: Quit XBMC when TV is off - mk01 - 16th Mar, 2014, 02:42 PM
RE: Quit XBMC when TV is off - LeoSum - 22nd Mar, 2014, 01:48 AM
RE: Quit XBMC when TV is off - mk01 - 24th Mar, 2014, 07:00 AM
RE: Quit XBMC when TV is off - mk01 - 4th Apr, 2014, 11:08 AM
RE: Quit XBMC when TV is off - LeoSum - 13th Apr, 2014, 07:57 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 23rd May, 2025, 07:12 PM Powered By MyBB, © 2002-2025 MyBB Group.