[vdr] vdr-1.3.38 Patches for Playerplugins (MsgReplaying)
Andreas Brachold
ml06 at deltab.de
Sun Jan 8 17:41:03 CET 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvd-cvs-for-vdr-1.3.38.diff
Type: text/x-patch
Size: 1806 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20060108/4ff3b1f6/dvd-cvs-for-vdr-1.3.38-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mp3-0.9.13.diff
Type: text/x-patch
Size: 989 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20060108/4ff3b1f6/mp3-0.9.13-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-0.9.13.diff
Type: text/x-patch
Size: 637 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20060108/4ff3b1f6/mplayer-0.9.13-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: muggle-0.1.9.diff
Type: text/x-patch
Size: 915 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20060108/4ff3b1f6/muggle-0.1.9-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image-0.2.4-for-vdr-1.3.38.diff
Type: text/x-patch
Size: 3531 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20060108/4ff3b1f6/image-0.2.4-for-vdr-1.3.38-0001.bin
More information about the vdr
mailing list