Skip to content

Previous audio track and subtitle not set correctly for next episode #5168

Description

@yodaldevoid

Describe The Bug
When "Set audio track based on previous item" is set, the next episode will use the default audio track. The audio track shown as selected in the GUI is the previously selected audio track, and the only way to get the audio track to actually change is to select a different audio track and then the correct one again.

Similar behavior happens when "Set subtitle track based on previous item" is set with subtitles.

Steps To Reproduce

  1. Go to Menu -> Settings -> Playback
  2. Enable "Set audio track based on previous item"
  3. Open the first episode of a show with multiple audio tracks and multiple episodes
  4. Select a non-default audio track
  5. Skip to the next episode
  6. Hear the wrong audio track and see the correct audio track selected in the playback GUI.

Expected Behavior
When the next episode loads, the selected audio track/subtitle for the previous episode should be selected (where possible) for the next episode.

Logs
No errors reported

System (please complete the following information):

  • Client Platform: Windows 10 and macOS 14.1.2
  • Server Platform: Docker on Linux
  • Browser: Firefox 122.0 and Chrome 120
  • Jellyfin Version: 10.8.13

Additional Context
Previously reported as jellyfin/jellyfin#9141

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions