Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Remove conflicting metadata assignments to resolve audio switching #2076

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

F0x1
Copy link

@F0x1 F0x1 commented Dec 15, 2024

Changes

  • Removed the line m.LoadMetaDataTask.selectedSubtitleIndex = m.top.SelectedSubtitle from onAudioIndexChange()
  • Removed the line m.LoadMetaDataTask.selectedAudioStreamIndex = m.top.audioIndex from onSubtitleChange()
  • These removals address a race condition causing video playback to fail when switching audio tracks

Issues

Fixes #2059

…ng issue on Roku

- Removed the line `m.LoadMetaDataTask.selectedSubtitleIndex = m.top.SelectedSubtitle` from onAudioIndexChange()
- Removed the line `m.LoadMetaDataTask.selectedAudioStreamIndex = m.top.audioIndex` from onSubtitleChange()
- These removals address a race condition causing video playback to fail when switching audio tracks

Fixes jellyfin#2059
@F0x1 F0x1 requested a review from a team as a code owner December 15, 2024 21:38
@jimdogx jimdogx merged commit c9b6cc4 into jellyfin:2.2.z Dec 16, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants