[vdr] vdr-1.4.7 save settings before pressing poweroff

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Mon Nov 26 16:20:16 CET 2007


On 11/26/2007 04:07 PM, Halim Sahin wrote:
> Hello,
> 
> Currently I am using a shutdown script which does the powerof after
> pressing the power key on the remote.
> It seems to me that vdr does not save its settings like last channel and
> last volume before executing the shutdown skript.
> Is this a known problem?

It's a problem if your shutdown script doesn't return ;-)

> Can I insert a
>      Setup.Save();
> before SystemExec(cmd); in vdr.c to solve this??

Sure you can - but it would be better to let your shutdown
script return to VDR and let VDR end normally - in which case
it also stores its settings.

Klaus



More information about the vdr mailing list