Merge pull request #3214 from danieladov/master

Order ids to merge to avoid stack overflow
pull/3222/head
Bond-009 4 years ago committed by GitHub
commit b89565110d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save