summaryrefslogtreecommitdiff
path: root/plugins/profiler
diff options
context:
space:
mode:
authormethodus <methodus@web.de>2012-11-03 16:20:02 +0100
committermethodus <methodus@web.de>2012-11-03 16:20:02 +0100
commita288a0de05b8030995f1d6df7da674d37a98147b (patch)
tree666c58751626758eee31a6a951a2c5c7c99f44b3 /plugins/profiler
parentbec6d08458df0fc96cc456946cebd355924fded3 (diff)
downloadvdr-plugin-upnp-a288a0de05b8030995f1d6df7da674d37a98147b.tar.gz
vdr-plugin-upnp-a288a0de05b8030995f1d6df7da674d37a98147b.tar.bz2
Added channel group support
Diffstat (limited to 'plugins/profiler')
-rw-r--r--plugins/profiler/vdrDVBProfiler/dvbProfiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/profiler/vdrDVBProfiler/dvbProfiler.cpp b/plugins/profiler/vdrDVBProfiler/dvbProfiler.cpp
index b27ad6a..8d41354 100644
--- a/plugins/profiler/vdrDVBProfiler/dvbProfiler.cpp
+++ b/plugins/profiler/vdrDVBProfiler/dvbProfiler.cpp
@@ -213,7 +213,7 @@ private:
bool GetChannelMetadata(const string& uri, cMetadata& metadata){
- tChannelID channelID = tChannelID::FromString(uri.substr(6).c_str());
+ tChannelID channelID = tChannelID::FromString(uri.substr(uri.find_last_of('/')+1).c_str());
if(!channelID.Valid()) return false;
cChannel* channel = Channels.GetByChannelID(channelID);