The Free Software Media System - Server Backend & API
Order MediaStream query by StreamIndex (#13506)
gnattu341bb024227a
diff --git a/Jellyfin.Server.Implementations/Item/MediaStreamRepository.cs b/Jellyfin.Server.Implementations/Item/MediaStreamRepository.csindex d6bfc1a8f7..6ba8a62b56 100644--- a/Jellyfin.Server.Implementations/Item/MediaStreamRepository.cs+++ b/Jellyfin.Server.Implementations/Item/MediaStreamRepository.cs@@ -88,7 +88,7 @@ public class MediaStreamRepository : IMediaStreamRepositoryquery = query.Where(e => e.StreamType == typeValue);}- return query;+ return query.OrderBy(e => e.StreamIndex);}private MediaStream Map(MediaStreamInfo entity)