Переглянути джерело

display songs on ibn page

Luke Pulverenti 12 роки тому
батько
коміт
08240b86e5

+ 1 - 1
MediaBrowser.Api/UserLibrary/GenresService.cs

@@ -79,7 +79,7 @@ namespace MediaBrowser.Api.UserLibrary
 
                 GameCount = items.OfType<BaseGame>().Count(),
 
-                SongCount = items.OfType<AudioCodecs>().Count(),
+                SongCount = items.OfType<Audio>().Count(),
 
                 AlbumCount = items.OfType<MusicAlbum>().Count()
             };

+ 1 - 1
MediaBrowser.Api/UserLibrary/PersonsService.cs

@@ -102,7 +102,7 @@ namespace MediaBrowser.Api.UserLibrary
 
                 GameCount = items.OfType<BaseGame>().Count(),
 
-                SongCount = items.OfType<AudioCodecs>().Count(),
+                SongCount = items.OfType<Audio>().Count(),
 
                 AlbumCount = items.OfType<MusicAlbum>().Count(),
 

+ 1 - 1
MediaBrowser.Api/UserLibrary/StudiosService.cs

@@ -75,7 +75,7 @@ namespace MediaBrowser.Api.UserLibrary
 
                 GameCount = items.OfType<BaseGame>().Count(),
 
-                SongCount = items.OfType<AudioCodecs>().Count(),
+                SongCount = items.OfType<Audio>().Count(),
 
                 AlbumCount = items.OfType<MusicAlbum>().Count()
             };