Open sjorge opened 3 months ago
This has been a pet peeve of mine for a while. I usually have to go and manually remove duplicate or unnecessary 'Studios'
I'm not able to make a PR at the moment but I believe it's as trivial as changing the following line https://github.com/jellyfin/jellyfin-plugin-anilist/blob/01c6986e1fe4a68c27122b591310672367179af4/Jellyfin.Plugin.AniList/Providers/AniList/AniListApi.cs#L98 to this to only retrieve an entry's Studio(s) rather than Studio(s) + Producers.
studios(isMain: true) {
This appears to work even for shows that have multiple animation studios.
Ref: https://anilist.co/anime/116589/86-Eighty-Six/
As you can see the studio tags contains both the Studio data and Producers data from anilist. I having the producers be added there seems wrong to me IMHO. It would be nice to have that as a configuration option to pick if only Studio or Studio + Producers get added.
Edit: I'm not sure but I think they are differentiated in GraphQL response by isMainStudio where it is false for the producers.
Edit2: I also noticed we currently have dups because of this, https://anilist.co/anime/150672/Oshi-no-Ko/ seems to have
Doga Kobo
twice. Because it's listed twice on anilist (ones under studio and ones under producers)