add-ons / service.iptv.manager

Integrate TV and radio channels with EPG data from other add-ons in Kodi PVR.
https://github.com/add-ons/service.iptv.manager/wiki
GNU General Public License v3.0
95 stars 28 forks source link

Improvements #92

Closed Lunatixz closed 2 years ago

Lunatixz commented 3 years ago

Added reload passive refresh switch and moved 'last_refreshed' state to a window property to assure IPTV manager refreshes meta at Kodi start.

michaelarnauts commented 3 years ago

It's actually on purpose to not refresh at startup when it has been less then the configured interval ago. This is to not hammer the services behind the Add-ons when restarting Kodi. When the update interval has passed while Kodi was closed, it will update automatically as soon as Kodi is started.

Lunatixz commented 3 years ago

I believe the onus is on the individual plugin to properly cache and handle data flow. IPTV manager's responsibility is to provide fresh data which it doesn't. The main issue IPTV manager has, is that it pools multiple sources with varying guide data lengths; yet updates them all at a set static time.

There is a major disconnect between fresh and stale data...

My hope is that we can make IPTV manager well-rounded and not just a niche one-off instance solution.

This commit has some lazy additions to get us started. Down the road, I'd like to add guide data checks, so that updates are run individually and dynamically when needed.