diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-27 21:59:26 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-27 21:59:26 -0400 |
| commit | 657097ee1511824960ca39c3b8c6c23bda5a840f (patch) | |
| tree | b738d23436faf03d975041364b00b62605b5ce7e /MediaBrowser.Api/UserLibrary/GenresService.cs | |
| parent | 1f1eab209a289a0ad8ba37f49caf272a6fd9c104 (diff) | |
fixes #296 - Prevent non-movie videos from appearing in Movies view
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/GenresService.cs')
| -rw-r--r-- | MediaBrowser.Api/UserLibrary/GenresService.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Api/UserLibrary/GenresService.cs b/MediaBrowser.Api/UserLibrary/GenresService.cs index 3f5e99f34..6dada4732 100644 --- a/MediaBrowser.Api/UserLibrary/GenresService.cs +++ b/MediaBrowser.Api/UserLibrary/GenresService.cs @@ -174,7 +174,9 @@ namespace MediaBrowser.Api.UserLibrary SongCount = items.OfType<Audio>().Count(), - AlbumCount = items.OfType<MusicAlbum>().Count() + AlbumCount = items.OfType<MusicAlbum>().Count(), + + MusicVideoCount = items.OfType<MusicVideo>().Count() }; return ToOptimizedResult(counts); |
