Skip to content

Commit

Permalink
Add mono fsListType parsing
Browse files Browse the repository at this point in the history
Added format for catchup link using by my IPTV provider
  • Loading branch information
am-silex authored Nov 21, 2024
1 parent a5f312c commit e373a19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/iptvsimple/data/Channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,8 @@ bool Channel::GenerateFlussonicCatchupSource(const std::string& url)
{
if (fsListType == "index")
m_catchupSource = fsHost + "/" + fsChannelId + "/timeshift_rel-{offset:1}.m3u8" + fsUrlAppend;
else if (fsListType == "mono")
m_catchupSource = fsHost + "/" + fsChannelId + "/mono-{utc}-{duration}.m3u8" + fsUrlAppend;
else
m_catchupSource = fsHost + "/" + fsChannelId + "/" + fsListType + "-timeshift_rel-{offset:1}.m3u8" + fsUrlAppend;
}
Expand Down

0 comments on commit e373a19

Please sign in to comment.