aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-07-30 16:31:25 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-07-30 16:31:25 -0400
commitd977ba932b0f889f6925d7c0b58f862dd3e75b5b (patch)
treeb37aea7921135fa74f3c2f1e61149630f9a35810 /MediaBrowser.Server.Implementations/Library/LibraryManager.cs
parentd5bfdd7988dcf9ba29dd2fefd6eb818628a1b0ad (diff)
added favorites page to the tv section
Diffstat (limited to 'MediaBrowser.Server.Implementations/Library/LibraryManager.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Library/LibraryManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
index c9fb95c86..230cee47f 100644
--- a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
+++ b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
@@ -850,7 +850,7 @@ namespace MediaBrowser.Server.Implementations.Library
var people = RootFolder.RecursiveChildren
.Where(c => c.People != null)
- .SelectMany(c => c.People.Where(p => includedPersonTypes.Contains(p.Type)))
+ .SelectMany(c => c.People.Where(p => includedPersonTypes.Contains(p.Type, StringComparer.OrdinalIgnoreCase) || includedPersonTypes.Contains(p.Role, StringComparer.OrdinalIgnoreCase)))
.DistinctBy(p => p.Name, StringComparer.OrdinalIgnoreCase)
.ToList();