Skip to content

User Stats, genre duplicates when there are libraries with different Preferred Download Languages #517

@Xev

Description

@Xev

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:

  1. Prepare folder with a few action movies
  2. Create movie library with Preferred download language set to German and point it to prepared folder
  3. Create movie library with Preferred download language set to English and point it to prepared folder
  4. Play a few action movies in both libraries
  5. 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

Image ^ `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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions