mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-09 07:10:34 +02: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(',')
|
||||
.Select(i => _libraryManager.GetItemById(i))
|
||||
.OfType<Video>()
|
||||
.OrderBy(i => i.Id)
|
||||
.ToList();
|
||||
items = items.OrderBy(i => i.Id).ToList();
|
||||
|
||||
if (items.Count < 2)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue