edit4ever / script.module.zap2epg

zap2epg - EPG grabber for USA/Canada
GNU General Public License v3.0
41 stars 25 forks source link

zap2epg not grabbing season-episode numbers for "The Late Show With Stephen Colbert" #12

Closed RKCRLR closed 5 years ago

RKCRLR commented 5 years ago

It grabs season & episode numbers for other shows. I checked the zap2it.com website and the season & episode information is there.

I'm running zap2epg 1.0 on Kodi 18.1. Let me know if you need more information.

cabbresson commented 5 years ago

I've seen this happen too on other shows.

edit4ever commented 5 years ago

Just took a look and it does seem there have been some small changes that may be impacting things. I'll see what I can do in the next couple of days to fix. Thanks!

edit4ever commented 5 years ago

OK - I discovered that zap2it sometimes has missing data on the guides, especially ones that are a week out or more. So the old guide data for the Colbert episodes didn't have season/episode information. Now the data is there - but since zap2epg caches the old data to minimize downloads, the new information isn't refreshed.

The solution is to add an option to always refresh the guide data - i.e. don't cache the downloads so the information parsed is always up to date. I can look at adding this option.

In the meantime, just delete the XXXXXXXXXX.json.gz files from the userdata/addon_data/script.module.zap2epg/cache folder and rerun the grabber. This will refresh all data. You don't need to delete the SHXXXXXXXX.json or MVXXXXXXX.json files - as these are the extra details downloads, not the base guide data.

edit4ever commented 5 years ago

BTW - If you want to see this in action, take a look at Colbert for Wednesday March 5th...they still haven't provided information for that episode. I'm guessing with the interview type shows - the program schedulers don't send it out until they are completely sure the lineup is set. So for those shows - you only get a day or two out with updated info.

Maybe I can make the option adjustable, so you can set the number of days out to re-download data. So if you want to refresh data 3 days out - it will delete the cached files and download new data for the next 3 days. That way, if you have your downloads set to 14 days, you don't have to always download everything, just the number of days out you would like to. Thoughts?

wbeard52 commented 5 years ago

Yes. That would be the best solution.

Get Outlook for Androidhttps://aka.ms/ghei36


From: edit4ever notifications@github.com Sent: Saturday, March 2, 2019 2:24:24 PM To: edit4ever/script.module.zap2epg Cc: Subscribed Subject: Re: [edit4ever/script.module.zap2epg] zap2epg not grabbing season-episode numbers for "The Late Show With Stephen Colbert" (#12)

BTW - If you want to see this in action, take a look at Colbert for Wednesday March 5th...they still haven't provided information for that episode. I'm guessing with the interview type shows - the program schedulers don't send it out until they are completely sure the lineup is set. So for those shows - you only get a day or two out with updated info.

Maybe I can make the option adjustable, so you can set the number of days out to re-download data. So if you want to refresh data 3 days out - it will delete the cached files and download new data for the next 3 days. That way, if you have your downloads set to 14 days, you don't have to always download everything, just the number of days out you would like to. Thoughts?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/edit4ever/script.module.zap2epg/issues/12#issuecomment-468961692, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aeapm4Ug5i6ht_FIEwxrDmp0BQ1yZSkBks5vSuwIgaJpZM4bahw3.

RKCRLR commented 5 years ago

That would seem to work. I think even one day would work for me depending on how Autorecs work in Tvheadend. My main objective is to be able to see the episode information for recordings that have been recorded by timers. TheTVDB needs the season & episode numbers appended to the filename so it can scrape the data.
Thanks

RKCRLR commented 5 years ago

I just realized I closed this thread by accident (must have hit the close button when I posted) so I reopened it.
Sorry for being such a novice.

edit4ever commented 5 years ago

I've pushed a new release to add the ability to set the number of days to refresh the cache download. The default setting of 1 day should be sufficient to refresh the guide data before any recordings.

Also note that if you are upgrading the addon, you may need to go into the zap2epg settings to initiate the new option.

Here's the link: https://github.com/edit4ever/script.module.zap2epg/releases/tag/v1.2.0