mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
refactor
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
1b90798b90
commit
8e0b1109bc
@ -129,8 +129,8 @@ namespace MediaBrowser.Api
|
|||||||
var items = request.Ids.Split(',')
|
var items = request.Ids.Split(',')
|
||||||
.Select(i => _libraryManager.GetItemById(i))
|
.Select(i => _libraryManager.GetItemById(i))
|
||||||
.OfType<Video>()
|
.OfType<Video>()
|
||||||
|
.OrderBy(i => i.Id)
|
||||||
.ToList();
|
.ToList();
|
||||||
items = items.OrderBy(i => i.Id).ToList();
|
|
||||||
|
|
||||||
if (items.Count < 2)
|
if (items.Count < 2)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user