mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
MediaStreams Array not mirroring Media Files Tracks #2655
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 @neilsb on GitHub (Feb 21, 2021).
When a subtitle track has an undefined language it appears at the end of the
MediaStreamsarray when querying the details of an item, rather than at the actual track position in the media file. This results in theMediaStreamsarray not matching the structure of the Media File.As an example, in this official sample mkv file has track 6 appears to be a subtitle track with no language:
But when querying the item details from Jellyfin the results are (Track 6 appears in Position 10)
Would either expect the order of the
MediaStreamsarray to match the source file, to allow use of the Array Index to identify the track in the file, or for theMediaStrams[x].Indexfield to reference the file's track index.Edit: This is happening on latest 10.7 docker images
@cvium commented on GitHub (Apr 11, 2021):
Cannot reproduce with the uploaded file
@neilsb commented on GitHub (Apr 11, 2021):
So the file has moved since the issue was posted but the seems to be exactly the same, and I still get the same results on 7.10.1 and Unstable (latest docker)
Requests to
/Users/{UserId}/Items/{ItemId}still returns the same as above, with the Spanish subtitles in position 7 (and propertyIndexhas value 7 also) and the latest VLC (3.0.12) is showing the Italian subtitle track as being track 8.Having said all that, using ffmpeg it does show the same order the API
So maybe the problem is VLC? In which case I guess we can close this issue.