[vdr] Blocking the playback of recordings in plugins

Reinhard Nissl rnissl at gmx.de
Thu Feb 1 19:57:20 CET 2007


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).

Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de

More information about the vdr mailing list