aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/UserLibrary/GenresService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-07-16 14:47:05 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-07-16 14:47:05 -0400
commit2c22db8b8d42e42a0575e0c2d9366f47f9ee7a24 (patch)
tree5160543394f69112738f78785c776c24a4071c90 /MediaBrowser.Api/UserLibrary/GenresService.cs
parent27c644e6c8e215efe47e16bf49db0aec619409bc (diff)
Added an adult video entity
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/GenresService.cs')
-rw-r--r--MediaBrowser.Api/UserLibrary/GenresService.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Api/UserLibrary/GenresService.cs b/MediaBrowser.Api/UserLibrary/GenresService.cs
index 4c383f0d7..7d434aef0 100644
--- a/MediaBrowser.Api/UserLibrary/GenresService.cs
+++ b/MediaBrowser.Api/UserLibrary/GenresService.cs
@@ -169,7 +169,9 @@ namespace MediaBrowser.Api.UserLibrary
SeriesCount = items.OfType<Series>().Count(),
- GameCount = items.OfType<Game>().Count()
+ GameCount = items.OfType<Game>().Count(),
+
+ AdultVideoCount = items.OfType<AdultVideo>().Count()
};
return ToOptimizedResult(counts);