Skip to content

[Enhancement][MangaDex] Inconsistent volume cover art selection when several languages are available #323

Description

@a-n710

I have encountered a problem that bugs me every time it happens and decided to go public with it.
I have several coverLanguages selected.

    mangaDex:
      priority: 3
      enabled: true
      coverLanguages:
      - "en"
      - "ja"
      - "ko"
      - "ja-ro"
      - "ko-ro"

I expect that the English cover will be selected, if it is present and only if it is not, I will get a Korean or a Japanese one.

However currently the implementation does not seem to care for the order of languages mentioned in the config and just picks the first one it finds, so frequently I am getting Korean cover instead of an English one.

Hopefully this is not breaking anything and I would appreciate the fix

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