aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/UserLibrary/GenresService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-06-10 23:31:00 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-06-10 23:31:00 -0400
commit18325159c5b46d2aa31d2dafd837ede7214b28ef (patch)
tree4966247933da5aeffad1672d87c67c1ebbb036f1 /MediaBrowser.Api/UserLibrary/GenresService.cs
parentfab983b6dcf7b282e8c96e3509209fcc568fb922 (diff)
added a new MusicGenre entity
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/GenresService.cs')
-rw-r--r--MediaBrowser.Api/UserLibrary/GenresService.cs9
1 files changed, 1 insertions, 8 deletions
diff --git a/MediaBrowser.Api/UserLibrary/GenresService.cs b/MediaBrowser.Api/UserLibrary/GenresService.cs
index 6dada4732..d44394c4f 100644
--- a/MediaBrowser.Api/UserLibrary/GenresService.cs
+++ b/MediaBrowser.Api/UserLibrary/GenresService.cs
@@ -1,6 +1,5 @@
using MediaBrowser.Controller.Dto;
using MediaBrowser.Controller.Entities;
-using MediaBrowser.Controller.Entities.Audio;
using MediaBrowser.Controller.Entities.Movies;
using MediaBrowser.Controller.Entities.TV;
using MediaBrowser.Controller.Library;
@@ -170,13 +169,7 @@ namespace MediaBrowser.Api.UserLibrary
SeriesCount = items.OfType<Series>().Count(),
- GameCount = items.OfType<BaseGame>().Count(),
-
- SongCount = items.OfType<Audio>().Count(),
-
- AlbumCount = items.OfType<MusicAlbum>().Count(),
-
- MusicVideoCount = items.OfType<MusicVideo>().Count()
+ GameCount = items.OfType<BaseGame>().Count()
};
return ToOptimizedResult(counts);