mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #13098] [MERGED] Fix subtitle selection to respect preferred language for forced subtitles #13467
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/13098
Author: @timminator
Created: 11/24/2024
Status: ✅ Merged
Merged: 3/19/2025
Merged by: @crobibero
Base:
master← Head:master📝 Commits (1)
4d4ecf5Respect preferred language when selecting forced subtitles📊 Changes
1 file changed (+60 additions, -26 deletions)
View changed files
📝
Emby.Server.Implementations/Library/MediaStreamSelector.cs(+60 -26)📄 Description
Changes:
This PR addresses an issue where forced subtitles in non-preferred languages were being selected. I adjusted the subtitle selection logic for the SubtitlePlaybackMode "Smart" and "OnlyForced" to ensure that forced subtitles are only chosen if they match the user's preferred language.
Issues:
Fixes one of two issues mentioned in #10829
Fixes #11776
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.