|
|
@ -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)
|
|
|
|
{
|
|
|
|
{
|
|
|
|