diff options
| author | Techywarrior <techywarrior@gmail.com> | 2013-05-03 22:03:07 -0700 |
|---|---|---|
| committer | Techywarrior <techywarrior@gmail.com> | 2013-05-03 22:03:07 -0700 |
| commit | 061a0c6f5546b7a0ffd429dd19560d35ca2cf5c6 (patch) | |
| tree | a023efeb4f40a8be77be1f55e033172cf777ca8b /MediaBrowser.Api/UserLibrary/PersonsService.cs | |
| parent | 0eed82c5049ce01b1907db987dc6f97f3d636e21 (diff) | |
| parent | 4279ed529d625b0d5265a90932fbdc10fce42830 (diff) | |
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/PersonsService.cs')
| -rw-r--r-- | MediaBrowser.Api/UserLibrary/PersonsService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/UserLibrary/PersonsService.cs b/MediaBrowser.Api/UserLibrary/PersonsService.cs index ee16a986e..837e56384 100644 --- a/MediaBrowser.Api/UserLibrary/PersonsService.cs +++ b/MediaBrowser.Api/UserLibrary/PersonsService.cs @@ -163,7 +163,7 @@ namespace MediaBrowser.Api.UserLibrary AlbumCount = items.OfType<MusicAlbum>().Count(), - EpisodeGuestStarCount = items.OfType<Episode>().Count(i => i.People.Any(p => string.Equals(p.Name, request.Name, StringComparison.OrdinalIgnoreCase) && string.Equals(p.Type, PersonType.GuestStar))) + EpisodeCount = items.OfType<Episode>().Count() }; return ToOptimizedResult(counts); |
