[vdr] suggestion for shutdown-handling
vdr at helmutauer.de
Thu Mar 2 09:11:25 CET 2006
> I hope it's OK to post this kind of things (it's my first post here).
> To suport plugins changing the operating mode, the var LiveTvMode could be
> made static with provided setter and getter.
> So the plugins could change the mode and the user is stil able to overwrite
> the mode and shutdown the vdr immediatelly.
> Having a toggle entry in the OSD-menu, the user could also switch to
> LiveTvMode in case that the vdr has been started for a recording event.
> Please let me know, what you (especially Klaus) are think about this
Generally I like your idea :)
But I would prefer to give the cPlugin Class a Busy member ( which returns false by default and could be changed by the
plugin ) and vdr asks all plugins if they are busy and if any of these is busy the user must confirm the shutdown.
Helmut Auer, helmut at helmutauer.de
More information about the vdr