Open am-silex opened 4 days ago
Locally tested, works fine
You don’t say where your code should be added in the file. So it’s impossible to tell if the code is viable or not.
My guy says it is not, as it will break things for other users.
I understand, that hard-coded link format is not flexible and that it's better to allow users to modify not only appendix, but the whole link using RegEx. To do so, we have to pass all the parts to UI.
const std::string fsHost = matches[1].str();
const std::string fsChannelId = matches[2].str();
const std::string fsListType = matches[3].str();
const std::string fsStreamType = matches[4].str();
const std::string fsUrlAppend = matches[5].str();
Ok, I commented on the PR. This will require quite a bit of work to get merged if you want to do the work.
Hi I've got subscription for an IPTV with a bit different catchup link. Monitoring web-player, I've found out that its format is quite similar to Flussonic, but with a twist. Currently, there is no condition case for it, so I'm getting
Here are link formats - both work http://server:port/ch1/**index**-1731156010-3600.m3u8?token=secret or http://server:port/ch1/**mono**-1731156010-3600.m3u8?token=secret
I propose to add this case for upstream. src -> iptvsimple -> data -> Channel.cpp -> bool Channel::GenerateFlussonicCatchupSource(const std::string& url)