diff options
Diffstat (limited to 'plugins/profiler/vdrDVBProfiler/dvbProfiler.cpp')
-rw-r--r-- | plugins/profiler/vdrDVBProfiler/dvbProfiler.cpp | 2 |
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); |