- length -1 is the correct value for streams in M3U playlists

This commit is contained in:
schmirl 2010-02-20 22:19:31 +00:00
parent 25f287f5b1
commit ccbc738202
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
VDR Plugin 'streamdev' Revision History 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) - added DELT FORCE option to delete running timers (thanks to Alwin Esch)
- fixed missing virtual destructor for cTSRemux - fixed missing virtual destructor for cTSRemux
- improved PARENTALRATING patch detection was missing in this branch - improved PARENTALRATING patch detection was missing in this branch

View File

@ -421,13 +421,13 @@ std::string cM3uChannelList::Next()
if (channel->GroupSep()) if (channel->GroupSep())
{ {
return (std::string) "#EXTINF:0," + name + "\r\n" + return (std::string) "#EXTINF:-1," + name + "\r\n" +
base + "group.m3u?group=" + base + "group.m3u?group=" +
(const char*) itoa(cChannelList::GetGroupIndex(channel)); (const char*) itoa(cChannelList::GetGroupIndex(channel));
} }
else else
{ {
return (std::string) "#EXTINF:0," + return (std::string) "#EXTINF:-1," +
(const char*) itoa(channel->Number()) + " " + name + "\r\n" + (const char*) itoa(channel->Number()) + " " + name + "\r\n" +
base + (std::string) channel->GetChannelID().ToString(); base + (std::string) channel->GetChannelID().ToString();
} }