scakemyer / plugin.video.quasar

Quasar add-on for Kodi
https://quasar.surge.sh/
347 stars 94 forks source link

Rate-limiting not retrying requests causes items to not be imported in library integration #750

Open hfmls opened 7 years ago

hfmls commented 7 years ago

Ok, i don't provide logs because i don't think it would help,so:

When i try to import my trakt list, quasar won't import all episodes from for example, simpsons, dragon ball super, naruto, etc.

Do you guys have any idea why? In Dragon Ball Super i only get info for like 14 episodes, and when i go via file manager i see that quasar created more then 70 links/episodes.

Any help?

scakemyer commented 7 years ago

So the strm files get created as expected, and after re-scanning your Kodi library, only a few show up?

elgatito commented 7 years ago

That is usual behaviour when adding many-seasons-show to the library. TMDB is denying after many requests come to them, so strm files are not fully populated. I usually run "Merge the library" after some time is passed, then it goes right and all files are there. Maybe it's better to detect "unauthorized" response and sleep for some minutes.

hfmls commented 7 years ago

@scakemyer yes, only a few show up. @elgatito how can i try that?

scakemyer commented 7 years ago

Ok so this is a wider issue, a side-effect of getting rate-limited and currently not retrying the failed requests that triggered rate limiting cool-down in the first place.

hfmls commented 7 years ago

does anyone know a workaround or? how can i do that "merge the library"