kodi-pvr / pvr.iptvsimple

IPTV Simple client for Kodi PVR
GNU General Public License v2.0
773 stars 372 forks source link

Manual update EPG #880

Open JurakZdenek opened 4 weeks ago

JurakZdenek commented 4 weeks ago

Hello, i missing option like "Reload EPG".

My EPG file is for 5 days. If i generate new EPG file i need options for immediately load that new file.

Now i need wait for autorefresh interval or reboot KODI.

It is possible add this option?

phunkyfish commented 3 weeks ago

Where is your EPG file located? Do you load a local file or something hosted? If you use caching you should be able to set the interval low and it will only load when the file has changed I think.

JurakZdenek commented 3 weeks ago

File is downloaded (by another addon - maybe about 2 times per week) to local folder. Auto refresh can be only disabled/ once per day/ interval.

disabled - is out of the question once per day - that's not enough in my case interval - is not ideal too.

" it will only load when the file has changed I think." - it is a good idea - how to set it?

EDIT: "Refresh now" - I think that might be the solution.

phunkyfish commented 3 weeks ago

Which addon is creating the EPG file?

I have a feeling the functionality you want got broken by the introduction of multi-instance PVR.

JurakZdenek commented 3 weeks ago

https://github.com/waladir/plugin.video.o2tv

phunkyfish commented 3 weeks ago

Looks like that addon uses iptvmerge.

@matthuisman am I correct in assuming this is blocked on the Python API stuff for multi instance?

matthuisman commented 3 weeks ago

i've never heard of that addon - but pretty neat seeing random addons using IPTV Merge! i think its added the option for Merge to use it, but also doing a lot of stuff outside of merge. it has its own service etc.

So, dont think this is a merge issue. I believe the user wants to have a manual reload to the add-on itself.

@JurakZdenek isnt the autoreload every 10mins in IPTV Simple not enough?

And @phunkyfish - yes - currently there seems to be no way to tell IPTV Simple to reload a playlist. IPTV merge just sets its reload time to 5mins and let it take care of reloading. Would be nice to be able to set a setting or something to force a reload

JurakZdenek commented 3 weeks ago

@matthuisman Refresh every 10 min is way. But, won't it load the device unnecessarily every 10 minutes? EPG xml file is about 13mb.

addon (o2tv) generate EPG once per 24 hours for one day back and seven forwards. (it's my current settings) every sunday (after 7 days) i have problem, because EPG don't want reload. I have turn on KODI every day. In living room i have set "once per day" and in bedroom i have set "every X (i am not sure) hours"

if the addon really loaded the EPG once a day, then it should never happen that I miss the EPG.

How works "once per day" setting? Sometime I have kodi turned on in the morning, sometimes in the evening.

Can I see when IPTV SImple reloads EPG? for example in some log.