Hi,
i collected a patchset for some player plugins.
My motive is a common used of the change interface of cStatus::MsgReplaying => Replaying
I would generally wished a using like for starting:
cStatus::MsgReplaying(this, "Pluginname", // to identify player "Playbacked filetitle or name", true); // bool bPlayback_started
and stopping :
cStatus::MsgReplaying(this, "Pluginname", NULL, false); //bool bPlayback_stopped
so that now Plugins like GraphLCD-Plugin recognition which player was started. Too show matching images or animations on there display.
--------------------------------
A totally other idee as solution is a function that every player cControl must overloaded :
class cControl : public cOsdObject {
const char* GetPlayerTitle() const = 0;
}
vdr/dvbplayer.h const char* cDvbPlayerControl::GetPlayerTitle() const { return "VDR"; }
PLUGIN/src/image/control-image.h const char* cImagePlayerControl::GetPlayerTitle() const { return "IMAGE"; }
Andreas