From a288a0de05b8030995f1d6df7da674d37a98147b Mon Sep 17 00:00:00 2001 From: methodus Date: Sat, 3 Nov 2012 16:20:02 +0100 Subject: Added channel group support --- plugins/profiler/vdrDVBProfiler/dvbProfiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/profiler') 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); -- cgit v1.2.3