Explorar el Código

Merge pull request #3214 from danieladov/master

Order ids to merge to avoid stack overflow
Bond-009 hace 5 años
padre
commit
b89565110d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      MediaBrowser.Api/VideosService.cs

+ 1 - 0
MediaBrowser.Api/VideosService.cs

@@ -128,6 +128,7 @@ namespace MediaBrowser.Api
             var items = request.Ids.Split(',')
                 .Select(i => _libraryManager.GetItemById(i))
                 .OfType<Video>()
+                .OrderBy(i => i.Id)
                 .ToList();
 
             if (items.Count < 2)