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

This commit is contained in:
schmirl 2010-02-20 22:18:14 +00:00
parent dd7cc838ad
commit 2f027a6ffc
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
VDR Plugin 'streamdev' Revision History
---------------------------------------
- length -1 is the correct value for streams in M3U playlists
- switching between two encrypted channels on the same transponder didn't
always work (thanks to sk8ter@vdrportal)
- added DELT FORCE option to delete running timers (thanks to Alwin Esch)

View File

@ -415,13 +415,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();
}