Browse Source

refactor

Co-authored-by: Cody Robibero <cody@robibe.ro>
danieladov 5 years ago
parent
commit
8e0b1109bc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      MediaBrowser.Api/VideosService.cs

+ 1 - 1
MediaBrowser.Api/VideosService.cs

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