Posts: 1,832
Joined: Nov 2010
Reputation:
58
Activates the user shutdown function, under Setting->System->Power saving, after a given period of inactivity while watching live TV.
A lot of recent TVs have this function: e.g. three minutes before the timeout, the user has to press OK on the TV remote to cancel the shutdown timer.
Posts: 6,255
Joined: Jun 2009
Reputation:
115
da-anda
Team-Kodi Member
Posts: 6,255
2013-02-01, 15:40
(This post was last modified: 2013-02-01, 15:40 by da-anda.)
so like auto-shutdown after you fell asleep in front of live TV for 2 hours?
Posts: 1,832
Joined: Nov 2010
Reputation:
58
Exactly. Happened to me last night: the TV has switched off (I set four hours), while the next morning XBMC was still there playing the live tv channel (proudly).
Posts: 31,445
Joined: Jan 2011
Don't we already have this with the custom shutdown timer, accessible from the shutdown menu?
Posts: 1,832
Joined: Nov 2010
Reputation:
58
It should help you when you forget to set a custom shutdown timer. And it's slighty different: whatever you are doing, when the custom shutdown timer is reached the shutdown action is taken, while this one will occurs only after the given period of inactivity during a live tv session.
Posts: 31,445
Joined: Jan 2011
But how do you know what inactivity is when someone is watching TV...
Posts: 1,832
Joined: Nov 2010
Reputation:
58
Should be in the same way as XBMC detects the idle time: if you stay tuned in a channel for about four hours (timeout previously setted, usually longest than the idle timeout) without interacting with XBMC (no volume changes, no zapping, nothing) then XBMC will ask you if you are still there with a message "XBMC will shutdown/standby/hibernate (whatever is the user shutdown function) in 3 minutes. Press OK to continue watching live TV".
Posts: 6,810
Joined: Jul 2010
Reputation:
198
You also need to consider if the tv backend runs on the same box. If this is the case you can't shutdown when a recording is active or about to start in the next couple of minutes. A potential solution should also provide a hook for calling external scripts for programming timers or ACPI.
Posts: 31,445
Joined: Jan 2011
Alright, I think I'm getting it now. Someone in another forum suggested 3 hours for a timer with it also being configurable. I would probably go to 4, but minor detail.
So Live TV timer that only activates on live TV and not on videos. I would suggest making it so that instead of sleeping or shutting down, the live TV timer (if activated) would simply stop live TV playback. Then XBMC's or the HTPC's OS's energy saving settings would then kick in.
Posts: 31,445
Joined: Jan 2011
In the case of CEC, shouldn't XBMC be receiving (or optionally receiving) a command for when the TV turns off?