aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-07-28 15:42:24 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-07-28 15:42:24 -0400
commitd95057f13bb6d8bfe04ce20138f8cd2fc66c3519 (patch)
treefec3d573d4202fad837cc695e2e01a5a4c73f697 /MediaBrowser.Server.Implementations/Library/LibraryManager.cs
parent713a9e779bfaee6f2b7a9b6b5102dfb6f9b9f131 (diff)
rework settings page
Diffstat (limited to 'MediaBrowser.Server.Implementations/Library/LibraryManager.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Library/LibraryManager.cs15
1 files changed, 9 insertions, 6 deletions
diff --git a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
index 8d51e3e92..497a198fd 100644
--- a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
+++ b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
@@ -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>();