Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Integration of Powersave in VDR



Matthias Weingart wrote:
> 
> On Wed, Aug 29, 2001 at 07:08:54AM +0200, Peter Seyringer wrote:
> > Hello!
> >
> > Klaus, how can you difference if it is a normal timer while the vdr is
> > running or a powersave startet timer after the timer vdr calls die shutdown
> > commando?
> > I think you should call the shutdown command with an additional parameter
> > after starting vdr. If the return value is 0 vdr runs like the version now,
> > if it is 1 vdr shutdown the computer after the timer!
> 
> I do not think this is the right way. VDR should call a external program
> (script) - after a timer has finished (and no other usage detected), and the
> script decides - to shutdown, to do nothing ...
>  VDR should be still running after starting the script (the script is able
> to shutdown the whole computer - and VDR too).

Well, if you set the suggested MinEventTimeout parameter to a small
value (maybe even 0), VDR _will_ call your script immediately after
a timer has ended (and the next timer is at least a little time in the
future).

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.


Home | Main Index | Thread Index