[vdr] Blocking the playback of recordings in plugins

Marko Mäkelä marko.makela at hut.fi
Thu Feb 1 20:55:03 CET 2007


On Thu, Feb 01, 2007 at 07:57:20PM +0100, Reinhard Nissl wrote:
> Hi,
> 
> Marko Mäkelä wrote:
> 
> > I believe that the easy fix would be to have these methods return 0 only
> > when playing a recording.  Can the plugin detect this somehow?
> 
> For live TV, VDR runs a transfer thread and the replaying device may use
> cDevice::Transferring() to detect this (works at least for vdr-xine in
> cXineDevice::SetPlayMode() for PlayMode being != pmNone).

Thanks, I knew there had to be some way.  Softdevice used to blank
the screen after a few seconds of missing video stream (tuned to an
audio channel).  A fix was introduced so that it wouldn't blank the
screen when a recording was paused.

	Marko



More information about the vdr mailing list