[vdr] [PATCH] Suspend/resume playback by remote control

Marko Mäkelä marko.makela at hut.fi
Sun Aug 28 23:17:13 CEST 2005


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.

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>.
It has been tested with the vdr-softdevice and vdr-dxr3 plugins (thanks
to Martin Wache and Ville Skyttä) but not with full-featured cards.

Feedback is greatly appreciated.  I would love to see this feature
included in the next stable release of VDR.

	Marko Mäkelä



More information about the vdr mailing list