diff --git a/MediaBrowser.Api/LibraryService.cs b/MediaBrowser.Api/LibraryService.cs
index fbd0cfb1ef..bcf359aa4b 100644
--- a/MediaBrowser.Api/LibraryService.cs
+++ b/MediaBrowser.Api/LibraryService.cs
@@ -106,7 +106,7 @@ namespace MediaBrowser.Api
[ApiMember(Name = "Recursive", Description = "Indicates if the refresh should occur recursively.", IsRequired = false, DataType = "bool", ParameterType = "query", Verb = "POST")]
public bool Recursive { get; set; }
-
+
[ApiMember(Name = "Id", Description = "Item Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "POST")]
public string Id { get; set; }
}
@@ -173,7 +173,8 @@ namespace MediaBrowser.Api
/// The item repo.
/// The library manager.
/// The user manager.
- public LibraryService(IItemRepository itemRepo, ILibraryManager libraryManager, IUserManager userManager, IUserDataRepository userDataRepository)
+ public LibraryService(IItemRepository itemRepo, ILibraryManager libraryManager, IUserManager userManager,
+ IUserDataRepository userDataRepository)
{
_itemRepo = itemRepo;
_libraryManager = libraryManager;
@@ -203,15 +204,15 @@ namespace MediaBrowser.Api
var items = GetItems(request.UserId).ToList();
var counts = new ItemCounts
- {
- AlbumCount = items.OfType().Count(),
- EpisodeCount = items.OfType().Count(),
- GameCount = items.OfType().Count(),
- MovieCount = items.OfType().Count(),
- SeriesCount = items.OfType().Count(),
- SongCount = items.OfType