Posts: 163
Joined: Mar 2012
Reputation:
8
For 2) you need to handle complete m3u8 because you pass raw data to Kodi. Meaning reading master playlist, select one stream quality and getting segments when you don't have any input data anymore. This is implemented in InputStream Adaptive.
That's why I gave up for now because it is duplicating the code. In pvr addon I would need something which is already implemented in InputStream Adaptive. But there are required some data which I don't have in master playlist. Not from my provider and not from others. Which means InputStream Adaptive can't be used for such providers.
At the end a lot of more code must be written to complete PVR addon with this functionality. On the other end not so much in Kodi (what some people are using now and works great).
Because currently this thing "just works" I don't look anymore much to improve it.
Posts: 2,518
Joined: May 2007
Reputation:
118
Ok, I have a working prototype using option 2. Essentially a M3U8Streamer.
It works with local timeshift but no reason it couldn’t work for archive too.
Posts: 13
Joined: Aug 2010
Reputation:
0
ihaar
Junior Member
Posts: 13
Hello
Is it possible to make a little how-to build and install this addon to kodi?
Posts: 3
Joined: Mar 2019
Reputation:
0
Time shifting is all fine for some IPTV providers but the ones I looked at offer archive URL's to specific videos with unique ID's, not time shifting specifically.
I would suggest providing URL in the xmltv programme section, alongside title, category, description, etc.
This way both time shifting and absolute video URL's would be supported.
Also, in the addon that I work on, which uses pvr.iptvsimple, I use kodi internal links (plugin://...) in the m3u playlist file supplied to iptvsimple. This allows to handle both DRM and also use inputstream.adaptive for TV playback.
Please include URL parameter in the EPG XML and use that for time-shifting/archive-linking.