mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #13813] [CLOSED] Fix wrong audio track selected when using instant play #13719
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/13813
Author: @timminator
Created: 3/31/2025
Status: ❌ Closed
Base:
master← Head:fix-wrong-audio-track-using-instant-play📝 Commits (1)
18f12dfFix wrong audio track selected when using instant play📊 Changes
1 file changed (+8 additions, -2 deletions)
View changed files
📝
MediaBrowser.Model/Dlna/StreamBuilder.cs(+8 -2)📄 Description
When using "instant play" described in #13774 Jellyfin Web/JMP do not specify an audioindex in their request. This causes Jellyfin to decide on an audiotrack by the candidateaudiostreams logic in StreamBuilder.cs, which is not taking any user or last played preferences into account. The issue is also more widespread than described in Issue #13774. It also selects the wrong track when you have for example 2 english tracks. If you played it the last time for example with track 2 it will switch to track 1 when using instant play. This is not specific to the default track flag.
Changes
The candidateAudioStreams logic is no longer applied when the playlistitem has already an AudioStreamIndex.
Fixes #13774
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.