diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-05-07 14:59:07 -0400 |
|---|---|---|
| committer | Luke <luke.pulverenti@gmail.com> | 2016-05-07 14:59:07 -0400 |
| commit | 75a1f74f946772ca60344210e6d69c9529b388bd (patch) | |
| tree | b44a03615b8de423056c003c0278666d37020180 /MediaBrowser.Controller/Entities/Person.cs | |
| parent | a78143173e8c4b6a5c92dc6926a2374e7f824593 (diff) | |
| parent | 8d6702b11533d49a5594a84f25f81f581962a54c (diff) | |
Merge pull request #1715 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Controller/Entities/Person.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Person.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/Person.cs b/MediaBrowser.Controller/Entities/Person.cs index 89581e967..2b099e3d5 100644 --- a/MediaBrowser.Controller/Entities/Person.cs +++ b/MediaBrowser.Controller/Entities/Person.cs @@ -31,6 +31,13 @@ namespace MediaBrowser.Controller.Entities return GetItemLookupInfo<PersonLookupInfo>(); } + public IEnumerable<BaseItem> GetTaggedItems(InternalItemsQuery query) + { + query.Person = Name; + + return LibraryManager.GetItemList(query); + } + /// <summary> /// Returns the folder containing the item. /// If the item is a folder, it returns the folder itself |
