On Thu, Mar 02, 2006 at 08:49:52AM +0100, geronimo wrote: > Patching vdr is one point, but on the other side I read a statement from > LinVDR, that they won't use patched VDR (which is quite ok from my point of > view). > > As I'm a fan of LinVDR, I looked for a way of doing it right. > AFAIK there are 2 possibilities: > 1. change the interface of plugin- and pluginmanager-class > 2. add a new mode of operation to vdr. > > I think the first point was already discussed in the past, so I looked on how > to solve the second. > The vdr could distinguish between LiveTV (usage as settop-box) and > recording-mode (usage as a video-recorder). > In settop-box-mode the user has to care about power-on and power-off - in > video-recorder-mode it's up to the vdr to care about power-state. My vdr-suspend patch does exactly this. The mode variable is Setup.Suspend, and it can be read from the configuration file. The mode is switched by pressing the Power button. After a short timeout, the system will shut down, unless it is busy with something else (such as recording or cutting). I've used the system since last September, and it works well in our family. My vdr-relay plugin (for powering the screen on or off) has an option for setting the initial suspend status. Thus, when the system is started by remote control (my own design for the Hauppauge Nova-T PCI 90002), the screen will power on. Otherwise (start by wake-on-LAN or nvram-wakeup) the screen will remain off and playback will be suspended. References: http://www.iki.fi/~msmakela/software/vdr/#suspend http://www.iki.fi/~msmakela/software/vdr/#relay http://www.iki.fi/~msmakela/electronics/worc5/ http://www.iki.fi/~msmakela/electronics/relay/ Marko