Parameter --manual-start/--timer-start (was: vdr shutdown handling / streamdev plugin)

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

 



On Saturday 02 December 2006 16:09, Udo Richter wrote:
> Klaus Schmidinger wrote:
> > The attached patch makes it call cPluginManager::Active() only
> > if it really wants to shut down, and if there is actually an option
> > for plugins to delay the shutdown (i.e. this is not a forced shutdown).
> >
> > If cPluginManager::Active() returns 'true' once, it waits for
> > SHUTDOWNRETRY minutes before trying again.
>
> I'd suggest moving the if block a bit down in the code, at least behind
> the manual start check, so plugins cannot interfere with this. I think

To manual start check I have another idea. Perhaps vdr can get a parameter for 
setting explicitly manual-start or start based on timer. Then the startskript 
could check the time that was written into nvram/acpi/wherever and tell vdr 
if start was manual or not.

Matthias

-- 
Matthias Schwarzott
Gentoo Developer
http://www.gentoo.org


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux