scrobble-moe / AniList.bundle

AniList Metadata provider for Plex
GNU General Public License v3.0
31 stars 3 forks source link

Plug-in not fetching metadata for episodes 101+ #8

Closed pilar6195 closed 2 years ago

pilar6195 commented 2 years ago

Plug-in is not fetching the metadata for episodes 101+ for shows with over 100 episodes in a season. Example being Hunter X Hunter.

From the looks of it you are using Jikan to fetch the MAL data. They do pagination for this endpoint and will only return 100 results which will require additional requests to fetch the rest of the data. The plug-in does not seem to account for this. It is noted in the v3 docs which you can find here under the "Remarks" section.

Also on a side note, the v3 Jikan api is deprecated. Should probably also migrate to the v4 api.

I would open a PR but I'm not really familiar with python.

sachaw commented 2 years ago

Thanks for the investigating 🔎

I'll take a look at this tonight and hopefully push a fix.

sachaw commented 2 years ago

@pilar6195 https://github.com/sachaw/AniList.bundle/commit/4a4f313e5de7e00624bb455a5ccaa7408e6ff4b7 is now in, Please try out https://github.com/sachaw/AniList.bundle/releases/tag/2.9 This should have addressed all of your points.

Please keep an eye out for any series not behaving as expected, Thanks.