Skip to content

The Free Software Media System - Server Backend & API

display songs on ibn page

Luke Pulverenti08240b86e5a9
diff --git a/MediaBrowser.Api/UserLibrary/GenresService.cs b/MediaBrowser.Api/UserLibrary/GenresService.cs
index 19c5ef86fe..4f87b154e5 100644
--- a/MediaBrowser.Api/UserLibrary/GenresService.cs
+++ b/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()
};
diff --git a/MediaBrowser.Api/UserLibrary/PersonsService.cs b/MediaBrowser.Api/UserLibrary/PersonsService.cs
index 93443db68f..fb623e953e 100644
--- a/MediaBrowser.Api/UserLibrary/PersonsService.cs
+++ b/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(),
diff --git a/MediaBrowser.Api/UserLibrary/StudiosService.cs b/MediaBrowser.Api/UserLibrary/StudiosService.cs
index 4072311d76..94c6046854 100644
--- a/MediaBrowser.Api/UserLibrary/StudiosService.cs
+++ b/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()
};