Alpha Simple Client opens stream twice at playback start
#1
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.
Reply
#2
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.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#3
Thanks.
Reply
#4
@phunkyfish while i have your ear, can you explain me some of the new Matrix options:
#KODIPROP:http-reconnect=tru
reconnect_streamed
Reply
#5
It should be in the readme: https://github.com/kodi-pvr/pvr.iptvsimp.../README.md

Essentially if you have a HLS stream there are a few options the addon can set internally to allow reconnections if the stream stops for less that 4 seconds. The options is enabled by default in settings (I think).

So you shouldn’t need to do anything to use it but you can disable it if it causes any issues.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#6
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?
Reply
#7
Will implement a catchup service timeshift. So pseudo timeshift.

Regular timeshift could be really hard to do for IPTV.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#8
(2019-12-24, 02:41)phunkyfish Wrote: Will implement a catchup service timeshift. So pseudo timeshift.

Regular timeshift could be really hard to do for IPTV.
Sorry to ask you again, because now i understand what you mean with "catchup service timeshift". It's this stuff: https://github.com/kodi-pvr/pvr.iptvsimple/issues/273
Unfortunately it's not what i was talking about. I mean a timeshift buffer file, so you can pause the stream for some minutes.
The way DVBViewer does it, should also work with the Simple PVR addon and looks very easy codewise: https://github.com/kodi-pvr/pvr.dvbviewe...Buffer.cpp
Of course this will only work with .ts streams because other formats cannot be played without the starting headers of the file.
But that shouldn't be a problem for you, because you already pre-download some KB of the stream before actually starting playback. If you then see it is a .ts stream you can enable the timeshift buffer. If it is some other format then not.
Reply
#9
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.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#10
Here you go:
xml:

#EXTM3U
#EXTINF:-1 tvg-name="Das Erste HD" tvg-id="ARD.de" group-title="German" tvg-logo="https://raw.githubusercontent.com/jnk22/kodinerds-iptv/master/logos/tv/daserstehd.png",Das Erste HD
https://mcdn.daserste.de/daserste/de/master_3744.m3u8
#EXTINF:-1 tvg-name="3sat" tvg-id="3sat.de" group-title="German" tvg-logo="https://raw.githubusercontent.com/jnk22/kodinerds-iptv/master/logos/tv/3sat.png",3sat
https://zdfhls18-i.akamaihd.net/hls/live...h/3/3.m3u8
#EXTINF:-1 tvg-name="ARTE HD" tvg-id="ARTE.de" group-title="German" tvg-logo="https://raw.githubusercontent.com/jnk22/kodinerds-iptv/master/logos/tv/artehd.png",ARTE HD
https://artelive-lh.akamaihd.net/i/artel..._av-p.m3u8
#EXTINF:-1 tvg-name="TRT World HD" tvg-id="TRTworld.nws" group-title="International;News" tvg-logo="https://raw.githubusercontent.com/jnk22/kodinerds-iptv/master/logos/tv/trtworld.png",TRT World HD
http://trtcanlitv-lh.akamaihd.net/i/TRTW..._av-p.m3u8
#EXTINF:-1 tvg-name="ABC News" tvg-id="" group-title="International;News" tvg-logo="https://raw.githubusercontent.com/jnk22/kodinerds-iptv/master/logos/tv/abcnews.png",ABC News
https://abclive1-lh.akamaihd.net/i/abc_l..._av-p.m3u8
#EXTINF:-1 tvg-name="CBN News" tvg-id="" group-title="International;News" tvg-logo="https://raw.githubusercontent.com/jnk22/kodinerds-iptv/master/logos/tv/cbnnews.png",CBN News
http://bcliveuniv-lh.akamaihd.net/i/news..._av-b.m3u8
Reply
#11
The above are HLS right?
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#12
Yes. Is this a problem?
Reply
#13
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.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#14
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.
Reply
#15
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.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply

Logout Mark Read Team Forum Stats Members Help
Simple Client opens stream twice at playback start0