aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/LibraryService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-27 12:53:10 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-27 12:53:10 -0400
commit9a820efde33b7a4cfe1dd3e5c37a2f1beaaec896 (patch)
tree44905e755b26f13ab4815956763a08499a2f7c7d /MediaBrowser.Api/LibraryService.cs
parent390f1653327e15248c0b0181b338c6a14d04732a (diff)
fixes #280 - MB3 Local metadata fetcher for Music not seeing/using Artist Folder.jpg
Diffstat (limited to 'MediaBrowser.Api/LibraryService.cs')
-rw-r--r--MediaBrowser.Api/LibraryService.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/MediaBrowser.Api/LibraryService.cs b/MediaBrowser.Api/LibraryService.cs
index 681bbd851..4998a122d 100644
--- a/MediaBrowser.Api/LibraryService.cs
+++ b/MediaBrowser.Api/LibraryService.cs
@@ -178,15 +178,15 @@ namespace MediaBrowser.Api
var items = GetItems(request.UserId).ToList();
var counts = new ItemCounts
- {
- AlbumCount = items.OfType<MusicAlbum>().Count(),
- EpisodeCount = items.OfType<Episode>().Count(),
- GameCount = items.OfType<BaseGame>().Count(),
- MovieCount = items.OfType<Movie>().Count(),
- SeriesCount = items.OfType<Series>().Count(),
- SongCount = items.OfType<Audio>().Count(),
- TrailerCount = items.OfType<Trailer>().Count()
- };
+ {
+ AlbumCount = items.OfType<MusicAlbum>().Count(),
+ EpisodeCount = items.OfType<Episode>().Count(),
+ GameCount = items.OfType<BaseGame>().Count(),
+ MovieCount = items.OfType<Movie>().Count(),
+ SeriesCount = items.OfType<Series>().Count(),
+ SongCount = items.OfType<Audio>().Count(),
+ TrailerCount = items.OfType<Trailer>().Count()
+ };
return ToOptimizedResult(counts);
}