summaryrefslogtreecommitdiff
path: root/plugins/provider/vdrProvider/vdrProvider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/provider/vdrProvider/vdrProvider.cpp')
-rw-r--r--plugins/provider/vdrProvider/vdrProvider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/provider/vdrProvider/vdrProvider.cpp b/plugins/provider/vdrProvider/vdrProvider.cpp
index 4a23ddc..3be9092 100644
--- a/plugins/provider/vdrProvider/vdrProvider.cpp
+++ b/plugins/provider/vdrProvider/vdrProvider.cpp
@@ -160,7 +160,7 @@ public:
<< "PROG=cat;"
<< "DLNA_contentFeatures=" << protocolInfo
<< "/"
- << uri.substr(6);
+ << uri.substr(uri.find_last_of('/')+1);
return ss.str();
}