[vdr] incompatibiliy between radio plugin and all mp3 plugins

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Mon Dec 22 23:46:14 CET 2008


On 22.12.2008 22:48, Stefan Huelswitt wrote:
> 
> Wolfgang Rohdewald schrieb:
> 
> Hello,
> 
>> in cPluginRadio::Replaying(), radio.c expects the replayed recording
>> to be
>> a VDR record. But mp3plugins like mp3, music, muggle use this
>> mechanism for
>> simple audio files.
> 
> Klaus, could you clarify if the filename passed to
> cStatus:MsgReplaying() is supposed to be a VDR recording only or if it
> may be the filename of any kind of media file involved?

It's not limited to VDR recordings:

class cStatus : public cListObject {
  ...
  virtual void Replaying(const cControl *Control, const char *Name, const char *FileName, bool On) {}
               // The given player control has started (On = true) or stopped (On = false) replaying Name.
               // Name is the name of the recording, without any directory path. In case of a player that can't provide
               // a name, Name can be a string that identifies the player type (like, e.g., "DVD").
               // The full file name of the recording is given in FileName, which may be NULL in case there is no
               // actual file involved. If On is false, Name may be NULL.


Klaus



More information about the vdr mailing list