mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[10.11-RC4] Automatic subtitle selection not working when Spanish is set as preferred subtitle language #7246
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?
Originally created by @a-collado on GitHub (Aug 12, 2025).
Description of the bug
After upgrading to version 10.11-RC4, if you set your preferred subtitle language to Spanish (either Spanish;Latin or Spanish;Castillian), and you have enabled "Smart" Subtitle mode, when you select media to play, it doesn't have any subtitle track selected, even if there is a Spanish subtitle track. This doesn't seem to happen with any other language.
I've tried to track down the issue, so I've debugged the function
GetDefaultSubtitleStreamIndexinEmby.Server.Implementations/Library/MediaStreamSelector.csto see why it doesn't select any track. I've found that in version 10.11-RC4 if you select Spanish as preferred subtitle language,preferredLanguageshas the valuees-mx, whereas in 10.11-RC3 the value wases. This seems to be why now the language doesn't coincide with any track, and why then no track is selected. I don't know if this change is intended, but it makes the "Smart" subtitle unusable.Related to this, I have also noted that now in version 10.11-RC4, when you select your preferred subtitle language, if you select any of the two Spanish options, it saves as Spanish;Castillian, while in 10.11-RC3 it saves as Spanish;Latin. I don't know if it's related to this issue.
Reproduction steps
What is the current bug behavior?
The subtitles of the media are off.
What is the expected correct behavior?
A Spanish subtitle track should be selected.
Jellyfin Server version
Unstable
Specify commit id
No response
Specify unstable release number
No response
Specify version number
10.11.0-rc4
Specify the build version
10.11.0-rc4
Environment
Jellyfin logs
Relevant screenshots or videos
Screenshot of the variable
preferredLanguagesin the debugger@theguymadmax commented on GitHub (Aug 12, 2025):
Duplicate of #1358
@a-collado commented on GitHub (Aug 12, 2025):
Sorry, but no, the issue I am reporting is a new issue introduced in 10.11-RC4. It is related to the issue you just linked, but that's only part of the problem. #1358 has been there for years, but in the latest preview version there's a new problem that breaks how "Smart" subtitle mode works in Spanish, and it wasn't there on 10.11-RC3.