fix regression on subsonic album artist play

This commit is contained in:
jeffvli 2025-05-07 20:59:16 -07:00
parent 076693e969
commit 6f7cb468b2

View file

@ -935,7 +935,9 @@ export const SubsonicController: ControllerEndpoint = {
};
}
if (query.albumIds || query.artistIds) {
const artistIds = query.albumArtistIds || query.artistIds;
if (query.albumIds || artistIds) {
if (query.albumIds) {
for (const albumId of query.albumIds) {
fromAlbumPromises.push(
@ -948,8 +950,8 @@ export const SubsonicController: ControllerEndpoint = {
}
}
if (query.artistIds) {
for (const artistId of query.artistIds) {
if (artistIds) {
for (const artistId of artistIds) {
artistDetailPromises.push(
ssApiClient(apiClientProps).getArtist({
query: {