Mailing List archive

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

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



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!

Why would I need to know that?????
If VDR has been started by "powersave" there will obviously be no user activity,
and after the timer has been completed (and the next timer is far enough in the future)
it will immediately shutdown.

I don't see a problem here.

Klaus

> 
> Peter
> 
> > > > I see two possible ways to do this: either through an external program
> > > that
> > > > new option "--shutdown=CMD", where CMD is the name of your program.
> > > I think thats ok!
> > >
> > > > Of course, how the machine is restarted again when the user wants to
> watch
> > > tv,
> > > > but there is currently no timer active, is a whole different story and
> has
> > > nothing
> > > klaus, can you explain what you mean?
> >
> > I thought that would be obvious: after shutting down the VDR computer,
> > there is no more software running (especially not VDR). So powering it
> > up by user request is something that has to be done outside VDR, and thus
> > has nothing to do with VDR.
> 
> --
> Info:
> To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.

-- 
_______________________________________________________________

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