diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-04 00:38:38 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-04 00:38:38 -0400 |
| commit | 4279ed529d625b0d5265a90932fbdc10fce42830 (patch) | |
| tree | a023efeb4f40a8be77be1f55e033172cf777ca8b /MediaBrowser.Api/UserLibrary/PersonsService.cs | |
| parent | f80c827d7592d0ec69e08d995371c51f9f3c331a (diff) | |
improved item by name displays
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); |
