From 6f3b081dd04d3ba1b0a64e3c906d2cfa5659efbb Mon Sep 17 00:00:00 2001 From: schmirl Date: Tue, 20 Jul 2010 12:26:09 +0000 Subject: [PATCH] fixed wrong URL path in m3u playlists --- CONTRIBUTORS | 3 +++ HISTORY | 7 ++++++- server/connectionHTTP.c | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 362ef27..479c8c9 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -126,3 +126,6 @@ carel wolfi.m for reporting a typo in externermux quality parameter value + +Norman Thiel + for reporting a wrong URL path in m3u playlists diff --git a/HISTORY b/HISTORY index e1eef1a..ac4bd11 100644 --- a/HISTORY +++ b/HISTORY @@ -1,10 +1,15 @@ VDR Plugin 'streamdev' Revision History --------------------------------------- +2010-07-20: Version 0.4.0b + +- fixed wrong URL path in m3u playlists (reported by Norman Thiel) + 2010-07-20: Version 0.4.0a - set externremux.sh executable in distribution archive -- externremux quality value should be wlan54, not wlan45 +- externremux quality value should be wlan54, not wlan45 (reported by + wolfi.m@vdrportal) 2010-07-19: Version 0.4.0 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 @@ -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) {