added new video filters

This commit is contained in:
Luke Pulverenti
2013-04-04 11:22:39 -04:00
parent e8d03d49f2
commit 6e957cc0b0
6 changed files with 68 additions and 5 deletions

View File

@@ -548,6 +548,9 @@ namespace MediaBrowser.Controller.Library
// Attach People by transforming them into BaseItemPerson (DTO)
dto.People = new BaseItemPerson[item.People.Count];
// Ordering by person type to ensure actors and artists are at the front.
// This is taking advantage of the fact that they both begin with A
// This should be improved in the future
var entities = await Task.WhenAll(item.People.OrderBy(i => i.Type).Select(c =>
Task.Run(async () =>