aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
diff options
context:
space:
mode:
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>();