Closed matthuisman closed 8 months ago
There is actually a facility for this in kodi pvr for a connection manager, which as an example if the M3U url was not available it would wait and keep retrying until it was available. I never bothered implementing it in iptvsimple as there is no real backend server, just a file.
possible to implement it without too much hassle?
I think a retry routine could be usefull also to solve another issue such as a temporary stream break from a server. A retry I think could restart the playback.
I think a retry routine could be usefull also to solve another issue such as a temporary stream break from a server. A retry I think could restart the playback.
Nope, this gets requested a lot but is not possible, it’s a completely different request. Let’s keep this issue on the requested topic please.
possible to implement it without too much hassle?
Hmmm, short answer is I don’t know. The feature is complicated enough, but if we only use it on start maybe we can implement it simply.
right. even the setting to make it sleep when starting before fetching the playlist would work
Let just implement this properly, rather than going with a hack. We have enough settings already.
@matthuisman here you go: https://github.com/kodi-pvr/pvr.iptvsimple/pull/823
Testbuilds: https://jenkins.kodi.tv/blue/organizations/jenkins/kodi-pvr%2Fpvr.iptvsimple/detail/PR-823/1/artifacts
Amazing. thank you. ill test tonight :)
works pretty well. have left a few comments on the PR files :)
I'd like to use http:// playlist url pointing to a url that is started by a service addon.
Currently PVR Simple will try to call the http://127.0.0.1:[port]/playlist.m3u8 too quickly and the service add-on has not yet started the server.
If there was a way to delay or have IPTV Simple retry urls - the above would work.
Issue i'm trying to solve is if someone has kodi closed for a long time and then open it - I want to re-scrape the playlist / epg and return the new data. Otherwise they need to wait 10mins for it