CoreELEC 9.2 (Kodi 18.x - Leia) with IPTV Archive support

Can you please test this and see if offset works?

Is there any chance to record from archive? I’m using to live record addon IPTV Recorder https://forum.kodi.tv/showthread.php?tid=329991 with ffmpeg but is not working from archive…

No, this addon only allows you to timeshift (via the provider backend) .

Hi, can that addon be used in Android Kodi version? If yes how can I do it? I’m using in on my CoreELEC but want to use also on ma Android TV where there is no way to run CE.
Thanks!

You can’t, because it requires modifications to Kodi itself in order for it to work.

@TheCoolest Sorry for delay
after some experiments with url format, this string ?offset=-{offset:1} works perfectly!
Thank you!

Great, thanks.

Today archive stop working.
When tried open from guide it’s just back to channels screen. Can you have a look into logs please: https://pastebin.com/Efa0CkYM

Hello!

My flussonic server returns archive in this form

catchup-source="SERVER.IP/STREAM/dvr-2019/08/14/23/04/56-06000.ts?token=XXXXX

What should I put in the query string?

What’s the actual catchup-source pattern that you see? Does it really include the date/time or are they placeholders?
The addon already supports catchup-source natively, so it should work without having to do anything.

Well, my playlist does not contain catchup-source tag, only live stream URLs

ProgDVB player supports flussonic catchups so I just sniffed this while playing an archive
SERVER.IP/STREAM/dvr-2019/08/14/23/04/56-06000.ts?token=XXXXX
And replaced date/time with archive-{utc}-3600.m3u8 accordin to flussonic docs
SERVER.IP/STREAM/archive-{utc}-3600.m3u8?token=XXXXX"

Then added catchup-source tag for every stream in playlist.
Seems to be working.
Nor sure about duration though.

Is there a less complicated way to do all that?

@TheCoolest is there any chance to ignore by addon headers in list and use only URL format from archive settings?

Found out it actually forms like that
Live stream URL
http://SERVER/STREAMNUMBER/video.m3u8?token=XXXXXX
Archive URL
http://SERVER/STREAMNUMBER/mono-1362504585-3600.m3u8?token=XXXXXX
It will deliver a list of segments starting from UTC 1362504585 ( 2013, March, 5th, 17:29:45 GMT) and for one hour forward.

I will have to think about how to make it work.
Currently what it does is it takes the catchup-source and adds whatever you put in the addon setting for the url to that. If catchup-source is not available it uses the normal channel url.

Will the add-on be available for stable CoreELEC release, or for nightly builds only?

It has been available in our official releases for a while now.

Any chance needed Kodi changes will be accepted upstream?

No, no chance.

Was it published upstream at least?

No, the changes are basically hacks in Kodi to allow this functionality. It will never be accepted, and I wouldn’t PR it even if there was a chance it would have.
I think TK and the iptvsimple developer are working on something that may allow proper support for this down the line, but I’m not 100% sure.