[vdr] Concerns about changing the API-definition of 'cStatus::Replaying()' and 'cStatus::Recording()' of VDR?

Oliver Endriss o.endriss at gmx.de
Wed Dec 21 04:06:24 CET 2005

Jeremy Hall wrote:
> In the new year, Oliver Endriss wrote:
> > Recording/Replaying should pass the _same_ file name (short name, full
> > name or whatever).
> > 
> > If a recording has been stopped, Recording() should also pass the file
> > name. Otherwise you never know which recording has stopped. ;-(
> > 
> > For example:
> >   void Recording(const cDevice *Device, const char *FileName, bool On)
> > 
> > The same should be done for Replaying().
> >   void Replaying(const cControl *Control, const char *FileName, bool On)
> > 
> > Just my 2 cents.
> > 
> What about an object-oriented approach, where the recording knows whether 
> it is playing or not and on which device.  What about attaching signals to 
> the callbacks and when the recording is stopped, a signal can be emitted.

Fine if Klaus chooses to implement it that way.
I simply need the information, and I don't care how it is passed to the
plugin. ;-)


VDR Remote Plugin available at

More information about the vdr mailing list