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? Can I insert a Setup.Save(); before SystemExec(cmd); in vdr.c to solve this?? Thanks Halim
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
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@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr