2018-11-22, 10:31
(2018-11-22, 00:27)scudlee Wrote: I've done a quick rewrite to use the season lists for the episode details, rather than pull each episode individually:Hi scudlee,
https://pastebin.com/MVEC6R7q
If you can replace the tmdb.xml in metadata.tvshows.themoviedb.org with contents of that pastebin and give it a whirl, let me know if it helps.
It should reduce the number of calls per show to the number of seasons plus 1 (plus another 1 for the entire scrape).
(It also contains my Episode Group code, but that shouldn't affect anything, I was just too lazy to revert back before making the changes.)
Unfortunately, even with the new tmdb.xml you provided, the issue remains. I have also a debug log but being more than 512 kilobytes I can not upload it on pastebin. Let me know if you need it to check...
I'm not an expert, but if the code of Kodi is add-on agnostic (i.e. I can use different scrapers for TV Shows), I would expect that modifications to reduce the number of requests should be implemented at Kodi level and not at the add-on one, but may be I'm wrong.
In parallel, I will try to give a look on how to throttle the number of requests as done for Musicbrainz.