Forum
Quit XBMC when TV is off - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Kodi (/forum-18.html)
+--- Thread: Quit XBMC when TV is off (/thread-885.html)

Pages: 1 2 3


RE: Quit XBMC when TV is off - mihailescu2m - 26th May, 2013 08:53 PM

Well, from the last patch, all should have exited with code 50. But I saw only code 64 on exit Sad


RE: Quit XBMC when TV is off - mk01 - 26th May, 2013 09:17 PM

(26th May, 2013 08:53 PM)mihailescu2m Wrote:  Well, from the last patch, all should have exited with code 50. But I saw only code 64 on exit Sad

are we sure the setting (2 at the end) is correctly passed to the condition?

ok, just checked koen's scripts to apply the patches, according to it the patch is currently applied only to xbmc 13. which nightly are you trying? 12 or 13.

PM koen again please, what was the reason. I don't want to break his processes if there was reason for that.

see here
https://github.com/xbianonpi/xbian-patches/blob/master/xbmc/patch-XBMC.sh


Quit XBMC when TV is off - Koenkk - 26th May, 2013 09:26 PM

This is because doesn't apply on the xbmc 12 source code


RE: Quit XBMC when TV is off - mk01 - 26th May, 2013 09:34 PM

(26th May, 2013 09:26 PM)Koenkk Wrote:  This is because doesn't apply on the xbmc 12 source code

interesting, because I'm at frodo 12.2 from 2.5.2013 Wink and the patch was diffed from modifications to this source code. since then I have not pulled from xbmc upstream.

if you will have 10m, can you dry run it and send me the stdout ?


Quit XBMC when TV is off - Koenkk - 26th May, 2013 09:35 PM

Will check (note that this was with an older version if the patch)


RE: Quit XBMC when TV is off - mk01 - 26th May, 2013 09:38 PM

(26th May, 2013 09:35 PM)Koenkk Wrote:  Will check (note that this was with an older version if the patch)

yes yes, no problem


RE: Quit XBMC when TV is off - Uncle_Tubbie - 27th May, 2013 01:55 AM

Assuming that this problem is worked out, would it be possible to have XBian do a backup before shutting down or as part of the shutdown process?


RE: Quit XBMC when TV is off - mk01 - 27th May, 2013 08:32 AM

backup what and backup to where ?


RE: Quit XBMC when TV is off - mihailescu2m - 27th May, 2013 08:34 AM

(27th May, 2013 01:55 AM)Uncle_Tubbie Wrote:  Assuming that this problem is worked out, would it be possible to have XBian do a backup before shutting down or as part of the shutdown process?

You can modify /etc/init.d/xbmc yourself and do that, in proc do_start (before the halt or reboot command).

(26th May, 2013 09:17 PM)mk01 Wrote:  ok, just checked koen's scripts to apply the patches, according to it the patch is currently applied only to xbmc 13. which nightly are you trying? 12 or 13.

So that's why I could not see any change at all in behaviour Smile


RE: Quit XBMC when TV is off - zilexa - 15th Jul, 2013 06:21 PM

This is a very interesting feature. Any updates on this? I am willing to test. Will do a clean install of beta1.1 tonight.

Perhaps there should be a 'pause' when switching from HDMI source on the tv. Don't exit XBMC immediately but wait a few minutes (in case you just want to check something on another channel and switch back again).


RE: Quit XBMC when TV is off - jyviko - 15th Sep, 2013 07:09 AM

(26th May, 2013 09:38 PM)mk01 Wrote:  
(26th May, 2013 09:35 PM)Koenkk Wrote:  Will check (note that this was with an older version if the patch)

yes yes, no problem

Hi guys,
Any news for this feature? Did you guys manage to throw the correct exit code?
cheers,
jyviko


RE: Quit XBMC when TV is off - mk01 - 15th Sep, 2013 09:45 AM

No, but it can be solved easily in a different way.

I will include that option in Beta2.


RE: Quit XBMC when TV is off - mk01 - 1st Nov, 2013 07:51 PM

@mihailescu2m

are you still somewhere around and active ?


RE: Quit XBMC when TV is off - peibol16 - 16th Nov, 2013 05:49 AM

(15th Sep, 2013 09:45 AM)mk01 Wrote:  No, but it can be solved easily in a different way.

I will include that option in Beta2.

Great news. Is a very interesting feature for users that run raspberry 24/7 because xbmc service only is needed with TV.


RE: Quit XBMC when TV is off - rikardo1979 - 16th Nov, 2013 06:32 AM

(16th Nov, 2013 05:49 AM)peibol16 Wrote:  
(15th Sep, 2013 09:45 AM)mk01 Wrote:  No, but it can be solved easily in a different way.

I will include that option in Beta2.

Great news. Is a very interesting feature for users that run raspberry 24/7 because xbmc service only is needed with TV.

not really. Like me listening music from local server or online radios or streams. so for this I dont need TV ON but I need XBMC running. so imagine you listen to music and than your XBMC goes OFF cos the TV is OFF Wink