[vdr] vdr-1.4.7 save settings before pressing poweroff

Halim Sahin halim.sahin at t-online.de
Mon Nov 26 18:02:42 CET 2007


Hi Klaus,
On Mo, Nov 26, 2007 at 04:20:16 +0100, Klaus Schmidinger wrote:
> 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 ;-)
> 
Sorry but I am not able to get vdr do a clean shutdown.
What do I need to insert after a nvramwakeup to return to vdr correctly?


> > 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.
> 
My vdr 1.4.7 does not a normal  end if I give -s /path_to_skript.
Thanks
Halim


> Klaus
> 
> _______________________________________________
> vdr mailing list
> vdr at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

-- 
Halim Sahin
E-Mail:				
halim.sahin (at) t-online.de



More information about the vdr mailing list