Mailing List archive

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

[vdr] Re: @Klaus Schmidinger: Feature request - Power down confirmation



Rene Bartsch wrote:
> 
> ----- Original Message -----
> From: "Dirk Hartmann" <dha@morticah.net>
> To: <vdr@linuxtv.org>
> Sent: Saturday, November 30, 2002 12:02 PM
> Subject: [vdr] Re: @Klaus Schmidinger: Feature request - Power down
> confirmation
> 
> > Why don't you put it on an completely different Button?
> >
> 
> I think different Power-buttons will confuse my parents much more.
> 
> What about a configurable option? I think a lot of people have switched off
> their vdr-box by accident and missed a recording.
> 
> There should at least be a confirmation when a timer is pending within the
> next 12 hours.

Such a confirmation already exists, see vdr.c: "Recording in %d minutes, shut down anyway?".

If you really want to have a general confirmation whenever the Power button
is pressed, you can simply add the lines

  if (!Interface->Confirm("Really shutdown?"))
     break;

right after

  case kPower: isyslog("Power button pressed");

in vdr.c.

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 vdr" as subject.



Home | Main Index | Thread Index