mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 12:40:20 +02:00
Return similar artists on artist detail
This commit is contained in:
@@ -193,7 +193,10 @@ export const SubsonicController: ControllerEndpoint = {
|
|||||||
albums: artist.album.map((album) =>
|
albums: artist.album.map((album) =>
|
||||||
subsonicNormalize.album(album, apiClientProps.server),
|
subsonicNormalize.album(album, apiClientProps.server),
|
||||||
),
|
),
|
||||||
artistInfo,
|
similarArtists:
|
||||||
|
artistInfo?.similarArtist?.map((artist) =>
|
||||||
|
subsonicNormalize.albumArtist(artist, apiClientProps.server, 300),
|
||||||
|
) || null,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
getAlbumArtistList: async (args) => {
|
getAlbumArtistList: async (args) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user