mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
Multiple audio default tracks will play always first track #6845
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 @enter-a-random-username on GitHub (Mar 25, 2025).
Description of the bug
According to the specs of MKV, all language tracks that aren't special (e.g. commentary) are default for specified language.
https://www.matroska.org/technical/notes.html
Unsure if this is a client thing, but based on my observation this happens with Web/JMP and instant play (not using detail view with select in between). So I thought this is default logic from Jellyfin server-side that is applied.
Please move to web, if it is JS and URL building.
File 1
undxAAxBBxAAMy preferred language is
BB, but I will get AAFile 2
undxAAxBBAAI will get
BBwithout default flag, that should be set based on MKV specsReproduction steps
Continue Watchingwill also play the first audio default trackWhat is the current bug behavior?
Starting any instant playback e.g.
Continue Watching,recently added, from list orNext Upwill play the first default track and not preferred language. (No matter the additional flag in settings)What is the expected correct behavior?
Play my wanted language
BBif it has a default flag. Multiple use can have different preferred languages.Jellyfin Server version
10.10.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
Release (had main/master before new EFCore)
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
@nrpeyton commented on GitHub (Mar 26, 2025):
Same issue.
My playback settings are being ignored:
As shown, I have tried manually setting english as my preferred language and also removed the checkbox for
Play default audio track regardless of language.Server: Jellyfin 10.10.5 (Docker)
Player: Both web and jellyfin-media-player
@timminator commented on GitHub (Mar 30, 2025):
I can also replicate this issue. I tried to investigate it a bit. I'm relatively certain it's a Jellyfin Web problem. JMP also just uses jellyfin web for its interface, so it makes sense that it is happening in both.
The reported AudioStreamIndex by jellyfin server is also correct from what I can see by debugging the server. The retrieved media information by jellyfin web in the network tab also list the correct AudiostreamIndex.
But I was not able to find out what goes wrong afterwards when using "instant play".
@enter-a-random-username commented on GitHub (Mar 30, 2025):
I was also unsure, because URL stuff and redirects are complex, and I was unsure if URL is wrongly built, or something is wrong after you click with many transferred information.
If somebody pinpoints the cause, I'm happy if this issue gets moved :)
@enter-a-random-username commented on GitHub (Mar 30, 2025):
OK, after some testing I ended up on server side. Also scoring for tracks, but the code seems solid.
Track selected is
Set here based on supported track
I think I'm only at symptom and not at the cause for the issue.
@nrpeyton commented on GitHub (Mar 30, 2025):
You're doing solid investigative work which is seriously appreciated. It’s clear you’re closing in on the root cause. Keep digging—you’ve got the right instincts. 💪