Forum

Full Version: Quit XBMC when TV is off
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Well, from the last patch, all should have exited with code 50. But I saw only code 64 on exit Sad
(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
This is because doesn't apply on the xbmc 12 source code
(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 ?
Will check (note that this was with an older version if the patch)
(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
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?
backup what and backup to where ?
(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
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).
(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
No, but it can be solved easily in a different way.

I will include that option in Beta2.
@mihailescu2m

are you still somewhere around and active ?
(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.
(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
Pages: 1 2 3
Reference URL's