On Fri, Dec 08, 2006 at 08:21:07PM +0100, Thiemo Gehrke wrote: > Am Samstag, 2. Dezember 2006 16:24 schrieb Matthias Schwarzott: > > 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 > > The attached patch does what you suggest, but I don't see any correlation to > the shutdown behaviour of plugins... What about a third possibility: the computer is started by Wake-on-LAN or Wake-on-Ring? It is kind of manual startup, but there should not be any output in that case. I have written a patch for making the Power key suspend the output. Some softdevice users have found it useful, but I've been told that the patch does not stop playback on full-featured cards. You can access the patch here: http://www.iki.fi/~msmakela/software/vdr/#suspend Quoting from there: "The patch introduces three 'Setup/Miscellanous' menu items. The Booleans 'Power button suspends playback' and 'Playback suspended' should be self-explanatory. The integer, 'Suspend to shutdown timeout (s)', is 0 by default, meaning that no shutdown will be initiated when playback is suspended by pressing the Power button. If you would like to use the Power button as a smart power-off button that works in any context, set this timeout to a suitable value, e.g., five seconds. Should you only want to suspend playback and not power the system off, you can press Power followed by OK. The latter button-press will confirm the 'Press any key to cancel shutdown prompt' if one is presented. (If any timed recordings are in progress, the prompt will be presented after they have finished, unless the shutdown was cancelled by pressing any button.)" I originally made the patch for vdr 1.3.32, and back then it was too late to change the shutdown behaviour of 1.4. I hope that the feature will make it to 1.5 in some form. Marko