mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #16001] feat: add support for setting a preffered image language priority in library options #14494
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/16001
Author: @MarcoCoreDuo
Created: 1/12/2026
Status: 🔄 Open
Base:
master← Head:preferred-image-languages📝 Commits (5)
c939860Add support for setting a preffered image language priorityd76b767add myself to CONTRIBUTORS.md9bfa1d7Refactor language parameters in OrderByLanguageDescending methodsa20be0arevert formatingf813554don't include all languages when prefferedImageLanguages are set📊 Changes
6 files changed (+107 additions, -24 deletions)
View changed files
📝
CONTRIBUTORS.md(+1 -0)📝
MediaBrowser.Controller/Entities/BaseItem.cs(+10 -0)📝
MediaBrowser.Model/Configuration/LibraryOptions.cs(+8 -0)📝
MediaBrowser.Model/Extensions/EnumerableExtensions.cs(+55 -9)📝
MediaBrowser.Providers/Manager/ItemImageProvider.cs(+7 -2)📝
MediaBrowser.Providers/Manager/ProviderManager.cs(+26 -13)📄 Description
Changes
Implements a new field PreferredImageLanguages in libraryOptions that accepts an array of language codes and nolang for no language. If the array has values, it will sort images based on this order. It will only fall back to no-language images and not to other languages, to avoid adding images in non-preferred languages. When no preferred image languages are set, it will fall back to the old behavior.
The PR for jellyfin-web: https://github.com/jellyfin/jellyfin-web/pull/7492
Features implemented
https://features.jellyfin.org/posts/2173/image-fetcher-preferred-language
https://features.jellyfin.org/posts/2734/fallback-language-for-posters
https://features.jellyfin.org/posts/3192/logos-should-select-the-correct-language
Closes https://github.com/jellyfin/jellyfin/pull/14078
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.