[vdr] vdr-1.4.7 save settings before pressing poweroff
Klaus.Schmidinger at cadsoft.de
Mon Nov 26 16:20:16 CET 2007
On 11/26/2007 04:07 PM, Halim Sahin wrote:
> 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
> 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.
More information about the vdr