[PATCH] Suspend/resume playback by remote control

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

 



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?


[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