diff --git a/src/shared/api/subsonic/subsonic-normalize.ts b/src/shared/api/subsonic/subsonic-normalize.ts index c50e1261c..8c431ede2 100644 --- a/src/shared/api/subsonic/subsonic-normalize.ts +++ b/src/shared/api/subsonic/subsonic-normalize.ts @@ -137,14 +137,19 @@ const normalizeSong = ( discTitleMap?: Map, ): Song => { const participants = getParticipants(item); + const albumArtistsList = getArtistList(item.albumArtists, item.artistId, item.artist); + const albumArtistName = + item.albumArtists?.length > 0 + ? item.albumArtists.map((a) => a.name).join(', ') + : item.artist || ''; return { _itemType: LibraryItem.SONG, _serverId: server?.id || 'unknown', _serverType: ServerType.SUBSONIC, album: item.album || '', - albumArtistName: item.artist || '', - albumArtists: getArtistList(item.albumArtists, item.artistId, item.artist), + albumArtistName, + albumArtists: albumArtistsList, albumId: item.albumId?.toString() || '', artistName: item.artist || '', artists: getArtistList(item.artists, item.artistId, item.artist, participants),