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, 09:44 AM
Post: #1
mihailescu2m Offline
Registered
Posts: 17
Joined: May 2013
Reputation: 0
Question 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.
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, 12:16 PM Powered By MyBB, © 2002-2025 MyBB Group.