You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When playing a video with multiple subtitles, The subtitle selection is off by 2.
E.G:
English 1
English 2
English (SDH)
Bulgarian
CZE
When selecting English 1, This plays the English (SDH).
When selecting English 2, This plays Bulgarian.
When selecting English (SDH), This plays CZE.
These subtitles are embedded, have yet to try external subtitles.
I'm wondering if it is taking into account the video and audio streams when selecting the subtitles.
So:
English 1 actually has ID 2 instead of ID 0,
English 2 has ID 3 instead of 1, etc.
The currentItemParsesSubtitleTracks should actually be filtering out non subtitles, and then map the indexes into the object.
So:
MediaStreams?.filter.map()
Instead of
MediaStreams?.map().filter
Steps to reproduce
Load a video with a bunch of subtitles
Select a subtitle
The incorrect subtitle plays.
Expected behavior
Selecting the English (SDH) subtitle, should play the English (SDH) subtitle, not the CZE subtitle.
Logs
Screenshots
No response
Platform
macOS
Browser
Firefox
Jellyfin server version
10.10.3
Additional context
The text was updated successfully, but these errors were encountered:
Description of the bug
When playing a video with multiple subtitles, The subtitle selection is off by 2.
E.G:
When selecting English 1, This plays the English (SDH).
When selecting English 2, This plays Bulgarian.
When selecting English (SDH), This plays CZE.
These subtitles are embedded, have yet to try external subtitles.
I'm wondering if it is taking into account the video and audio streams when selecting the subtitles.
So:
English 1 actually has ID 2 instead of ID 0,
English 2 has ID 3 instead of 1, etc.
The currentItemParsesSubtitleTracks should actually be filtering out non subtitles, and then map the indexes into the object.
So:
Instead of
Steps to reproduce
Expected behavior
Selecting the English (SDH) subtitle, should play the English (SDH) subtitle, not the CZE subtitle.
Logs
Screenshots
No response
Platform
macOS
Browser
Firefox
Jellyfin server version
10.10.3
Additional context
The text was updated successfully, but these errors were encountered: