From ccbc738202f73dd0ca192e08494cd7938d4f666b Mon Sep 17 00:00:00 2001 From: schmirl Date: Sat, 20 Feb 2010 22:19:31 +0000 Subject: [PATCH] - length -1 is the correct value for streams in M3U playlists --- HISTORY | 1 + server/menuHTTP.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index a3e2832..8b4ac6e 100644 --- a/HISTORY +++ b/HISTORY @@ -1,6 +1,7 @@ VDR Plugin 'streamdev' Revision History --------------------------------------- +- length -1 is the correct value for streams in M3U playlists - added DELT FORCE option to delete running timers (thanks to Alwin Esch) - fixed missing virtual destructor for cTSRemux - improved PARENTALRATING patch detection was missing in this branch diff --git a/server/menuHTTP.c b/server/menuHTTP.c index 3ebfb5a..7277473 100644 --- a/server/menuHTTP.c +++ b/server/menuHTTP.c @@ -421,13 +421,13 @@ std::string cM3uChannelList::Next() if (channel->GroupSep()) { - return (std::string) "#EXTINF:0," + name + "\r\n" + + return (std::string) "#EXTINF:-1," + name + "\r\n" + base + "group.m3u?group=" + (const char*) itoa(cChannelList::GetGroupIndex(channel)); } else { - return (std::string) "#EXTINF:0," + + return (std::string) "#EXTINF:-1," + (const char*) itoa(channel->Number()) + " " + name + "\r\n" + base + (std::string) channel->GetChannelID().ToString(); }