kodi-pvr / pvr.iptvsimple

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

Load/Update Past EPG data #672

Open hagaygo opened 1 year ago

hagaygo commented 1 year ago

Hi

I Noticed the addon does not seem to update past (days ?) epg data.

My IPTV's xmltv contains 3 days back and 3 days forward of data.

Since i use vod catchup which relies on epg id/start time , past epg data is important to be properly synced.

It seems the addon relies on kodi epg db to keep past data and only sync current day and forward data, so if i got a show from yesterday which was changed (time , epgid and so on) the addon will not sync it and kodi would show "old" data only.

Using latest kodi 19.4 , both on pc and librelec.

To reproduce just clear your kodi epg db and try to sync with a xmltv file that contains past 1-2 days back data , you will see that kodi will only show today's epg and forward.

P.S my kodi settings is to show 3 days back

image

Thanks in advance for any help.

phunkyfish commented 1 year ago

That is correct, as far as I know once a programme is in the past Kodi will not update it again. It’s a fair point though on catchup.

@ksooo, FYI on an interesting use case.