[vdr] Shutdown deactivated

Udo Richter udo_richter at gmx.de
Sat Jul 3 12:05:25 CEST 2010

Am 30.06.2010 12:06, schrieb Dominic Evans:
> For an always-on VDR, if shutdown is deactivated in the config, why do
> we still call vdr-shutdown-message and output OSD messages about
> 'shutting down in x seconds etc.' when VDR will actually never shutdown.

In core VDR, the shutdown countdown is starting if:
- VDR has been idle for 60 seconds
- User is idle for MinUserInactivity or never if not set
- There was no attempt to shut down in the last minute
- Counter is not already running, of course
- Remote control was not disabled by SVDRP REMO command
- A shutdown script was given by the -s switch
- No recording is being edited
- No timer is running or scheduled soon
- No plugin rejects shutdown or scheduled uptime soon

So for an always-on VDR, you can either not specify a shutdown command
via the -s switch, or set MinUserInactivity to 0. In both cases, the
countdown should not start.

Setting MinUserInactivity to 0 will still allow you to manually shut
down VDR, while not providing -s will disable shutdown completely.
Providing no -s switch but setting MinUserInactivity allows VDR to fall
silently into an internal inactivity state. Some plugins may react on
this internal state.

In your case, it looks as if MinUserInactivity is set and a shutdown
command is given, but after all the external shutdown command does
cancel the shutdown for some reason. VDR does not know about that and
retries after one minute.



More information about the vdr mailing list