freebsd-ports/multimedia/vdr-plugin-upnp/files/patch-livetv-channelname
Juergen Lock ccc7f468f6 http://www.vdr-wiki.de/wiki/index.php/Upnp-plugin
UPnP/DLNA Plugin for Video Disk Recorder

This Plugins extends the VDR with the possibility to act as an UPnP/DLNA Media
Server (DMS). It will serve VDR's contents in the network to any UPnP-AV and
DLNA capable devices.

This still is an alpha version!

WWW: http://upnp.vdr-developer.org/
2011-03-26 19:21:08 +00:00

14 lines
662 B
Text

--- a/database/metadata.cpp
+++ b/database/metadata.cpp
@@ -364,7 +364,11 @@ void cMediaDatabase::updateChannelEPG(){
MESSAGE(VERBOSE_EPG_UPDATES, "Updating details");
if(Event){
+#if 1 // XXX easier to find the channels at least on xbmc
+ ChannelItem->setTitle(Channel->Name());
+#else
ChannelItem->setTitle(Event->Title()?Event->Title():Channel->Name());
+#endif
ChannelItem->setLongDescription(Event->Description());
ChannelItem->setDescription(Event->ShortText());
}