aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/LibraryService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-27 21:59:26 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-27 21:59:26 -0400
commit657097ee1511824960ca39c3b8c6c23bda5a840f (patch)
treeb738d23436faf03d975041364b00b62605b5ce7e /MediaBrowser.Api/LibraryService.cs
parent1f1eab209a289a0ad8ba37f49caf272a6fd9c104 (diff)
fixes #296 - Prevent non-movie videos from appearing in Movies view
Diffstat (limited to 'MediaBrowser.Api/LibraryService.cs')
-rw-r--r--MediaBrowser.Api/LibraryService.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Api/LibraryService.cs b/MediaBrowser.Api/LibraryService.cs
index 4998a122d..ecd9f6fb6 100644
--- a/MediaBrowser.Api/LibraryService.cs
+++ b/MediaBrowser.Api/LibraryService.cs
@@ -185,7 +185,8 @@ namespace MediaBrowser.Api
MovieCount = items.OfType<Movie>().Count(),
SeriesCount = items.OfType<Series>().Count(),
SongCount = items.OfType<Audio>().Count(),
- TrailerCount = items.OfType<Trailer>().Count()
+ TrailerCount = items.OfType<Trailer>().Count(),
+ MusicVideoCount = items.OfType<MusicVideo>().Count()
};
return ToOptimizedResult(counts);