Describe the bug
Jellyfin allows for libraries to have Preferred download language for metadata.
Libraries with different language use localized versions of genre names and jellystat instead of treating them as duplicates of english genres and grouping them, it treats them as unique genres.
Environment Details (please complete the following information):
- Jellystat 1.1.8
- Jellyfin 10.11.6
To Reproduce
Steps to reproduce the behavior:
- Prepare folder with a few action movies
- Create movie library with
Preferred download language set to German and point it to prepared folder
- Create movie library with
Preferred download language set to English and point it to prepared folder
- Play a few action movies in both libraries
- Visit jellystat, click users in side-menu, pick user that was playing those movies and see 'Aktion' and 'Action' in Genre Stats.
Expected behavior
If there are German and English libraries, I expect "Aktion" and "Action" plays to be counted as "Action" only.
Screenshots

^ `Action` and `Akcja i Przygoda` which would translate as `Action & Adventure`
Additional Information
In my examples I am talking about two languages, but there could be many more, meaning even more duplicated genres.
Describe the bug
Jellyfin allows for libraries to have
Preferred download languagefor metadata.Libraries with different language use localized versions of genre names and jellystat instead of treating them as duplicates of english genres and grouping them, it treats them as unique genres.
Environment Details (please complete the following information):
To Reproduce
Steps to reproduce the behavior:
Preferred download languageset to German and point it to prepared folderPreferred download languageset to English and point it to prepared folderExpected behavior
If there are German and English libraries, I expect "Aktion" and "Action" plays to be counted as "Action" only.
Screenshots
Additional Information
In my examples I am talking about two languages, but there could be many more, meaning even more duplicated genres.