Posts: 515
Joined: Jul 2012
Reputation:
18
This is just a question, no support request or bug report that's why i've not attached a debug log:
Is it normal that the Simple Client makes two requests to the same channel stream url within one second at playback start? Kodi Leia if it matters.
Posts: 2,373
Joined: May 2007
Reputation:
105
I think so. I don’t know the specifics but I think one to lookup the mime type and another to start the stream make sense.
Posts: 515
Joined: Jul 2012
Reputation:
18
Btw. thank you so much! It's great to see finally somebody who care's about the Simple PVR addon. Will you also implement a simple client side timeshift buffer like the DVBViewer PVR addon does?
Posts: 2,373
Joined: May 2007
Reputation:
105
Will implement a catchup service timeshift. So pseudo timeshift.
Regular timeshift could be really hard to do for IPTV.
Posts: 2,373
Joined: May 2007
Reputation:
105
I’m familiar with DBViewer, I used that code to write timeshift for vuplus.
The problem is that addons work in 1 of 4 ways:
1) stream and playback is handed to kodi
2) the addon handles the inputstream
3) the addon handles the demuxer
4) the addon uses an inputstream addon that supports timeshift
Right now iptv simple is a 1). Which is the only one where timeshift is not possible. That being said we will turn it into a 4) for HLS streams with catchup. We could extend that to supports timeshift for TS files down the line.
If you have valid test streams that could be used for this let me know.
Posts: 2,373
Joined: May 2007
Reputation:
105
Plain TS streams and HLS are different. HLS would only be possible using option 4 as it requires control of the demuxed stream. Still doable though.
Posts: 515
Joined: Jul 2012
Reputation:
18
My use case will also be plain ts streams from Emby and DVBViewer.
Emby doesn't have an own pvr addon for Kodi, but many Emby users prefer Kodi over the native Emby apps.
DVBViewer is great as a recording engine but lacks in presentation of guide data - no season and episode numbers, year, persons and no thumbnails.
I have all this in my xmltv file but cannot use it right now. That's why i want to use the Simple PVR addon. But without timeshifting that's also a no go.
Posts: 2,373
Joined: May 2007
Reputation:
105
2020-01-08, 18:42
(This post was last modified: 2020-01-08, 18:43 by phunkyfish.)
Cool, it’ll be some time before I look into it. It is possible though.
You would also need to set a mimtype in the M3U file for the TS streams.