From e373a190bdc12813d6e386a2c70d8adaa674a02e Mon Sep 17 00:00:00 2001 From: Alexey <3120820+am-silex@users.noreply.github.com> Date: Thu, 21 Nov 2024 12:47:29 +0500 Subject: [PATCH] Add mono fsListType parsing Added format for catchup link using by my IPTV provider --- src/iptvsimple/data/Channel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/iptvsimple/data/Channel.cpp b/src/iptvsimple/data/Channel.cpp index 974f774c..f2a98bab 100644 --- a/src/iptvsimple/data/Channel.cpp +++ b/src/iptvsimple/data/Channel.cpp @@ -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; }