summaryrefslogtreecommitdiff
path: root/server/connectionHTTP.c
diff options
context:
space:
mode:
authorschmirl <schmirl>2010-07-20 12:26:09 +0000
committerschmirl <schmirl>2010-07-20 12:26:09 +0000
commit6f3b081dd04d3ba1b0a64e3c906d2cfa5659efbb (patch)
tree0ef09c565f7d3d52d5c16e84eeace186182453f5 /server/connectionHTTP.c
parentab4fc57879cc3c61be44605280aa98e2ba928ffe (diff)
downloadvdr-plugin-streamdev-6f3b081dd04d3ba1b0a64e3c906d2cfa5659efbb.tar.gz
vdr-plugin-streamdev-6f3b081dd04d3ba1b0a64e3c906d2cfa5659efbb.tar.bz2
fixed wrong URL path in m3u playlists
Diffstat (limited to 'server/connectionHTTP.c')
-rw-r--r--server/connectionHTTP.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/connectionHTTP.c b/server/connectionHTTP.c
index b687c71..7e9766c 100644
--- a/server/connectionHTTP.c
+++ b/server/connectionHTTP.c
@@ -1,5 +1,5 @@
/*
- * $Id: connectionHTTP.c,v 1.13.2.3 2010/07/19 13:50:14 schmirl Exp $
+ * $Id: connectionHTTP.c,v 1.13.2.4 2010/07/20 12:26:10 schmirl Exp $
*/
#include <ctype.h>
@@ -336,7 +336,7 @@ bool cConnectionHTTP::ProcessURI(const std::string& PathInfo)
Dprintf("before channelfromstring: type(%s) filespec(%s) fileext(%s)\n", type.c_str(), filespec.c_str(), fileext.c_str());
- if ((m_ChannelList = ChannelListFromString(PathInfo.substr(0, file_pos), filespec.c_str(), fileext.c_str())) != NULL) {
+ if ((m_ChannelList = ChannelListFromString(PathInfo.substr(1, file_pos), filespec.c_str(), fileext.c_str())) != NULL) {
Dprintf("Channel list requested\n");
return true;
} else if ((m_Channel = ChannelFromString(filespec.c_str(), &m_Apid[0], &m_Dpid[0])) != NULL) {