aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/UserLibrary/PersonsService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-04 00:38:38 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-04 00:38:38 -0400
commit4279ed529d625b0d5265a90932fbdc10fce42830 (patch)
treea023efeb4f40a8be77be1f55e033172cf777ca8b /MediaBrowser.Api/UserLibrary/PersonsService.cs
parentf80c827d7592d0ec69e08d995371c51f9f3c331a (diff)
improved item by name displays
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/PersonsService.cs')
-rw-r--r--MediaBrowser.Api/UserLibrary/PersonsService.cs2
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);