On Mon, Aug 29, 2005 at 12:17:13AM +0300, Marko M?kel? wrote: > I patched VDR 1.3.30 so that audio/video playback can be suspended by > pressing a remote control key, no matter which menu is open. > > This patch can also power off the monitor and speakers when playback > is suspended. That part is behind another #ifdef. > > Last but not least, the new "Suspend" key can be used as an intelligent > power-off key. If this feature is enabled and the playback is suspended > by pressing the key, and no other key is pressed within a timeout > (currently SHUTDOWNWAIT, but later it'd be be a configuration option > independent of SHUTDOWNWAIT), vdr will shut itself down. If there are > pending timed recordings, the shutdown timer will start counting at the > end of the last recording. I have now made the suspend-to-shutdown timeout a configuration option in the Setup/Replay menu. Another thing I improved is that cDevice::Clear() will only be invoked when viewing live stream. Thus, the Suspend key can pause a recording without dropping any frames. > The patch is available at > <http://www.funet.fi/~msmakela/software/vdr/index.en.html#suspend> > as <http://www.funet.fi/~msmakela/software/vdr/vdr-suspend.patch>. The new patch is at http://www.funet.fi/~msmakela/software/vdr/vdr-1.3.30-suspend-0.1.patch as I figured out there will probably be follow-up versions. If nothing else, translations in i18n.c will be needed. Also, it'd be nice to blank the video overlay on dxr3 and possibly full-featured cards. Could some FF card owner please test this patch? Marko