rework settings page

This commit is contained in:
Luke Pulverenti
2015-07-28 15:42:24 -04:00
parent 713a9e779b
commit d95057f13b
9 changed files with 51 additions and 43 deletions

View File

@@ -2071,14 +2071,17 @@ namespace MediaBrowser.Server.Implementations.Library
public List<PersonInfo> GetPeople(BaseItem item)
{
var people = GetPeople(new InternalPeopleQuery
if (item.SupportsPeople)
{
ItemId = item.Id
});
var people = GetPeople(new InternalPeopleQuery
{
ItemId = item.Id
});
if (people.Count > 0)
{
return people;
if (people.Count > 0)
{
return people;
}
}
return item.People ?? new List<PersonInfo>();