mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-16 16:34:24 +02:00
fix regression on subsonic album artist play
This commit is contained in:
@@ -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) {
|
if (query.albumIds) {
|
||||||
for (const albumId of query.albumIds) {
|
for (const albumId of query.albumIds) {
|
||||||
fromAlbumPromises.push(
|
fromAlbumPromises.push(
|
||||||
@@ -948,8 +950,8 @@ export const SubsonicController: ControllerEndpoint = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (query.artistIds) {
|
if (artistIds) {
|
||||||
for (const artistId of query.artistIds) {
|
for (const artistId of artistIds) {
|
||||||
artistDetailPromises.push(
|
artistDetailPromises.push(
|
||||||
ssApiClient(apiClientProps).getArtist({
|
ssApiClient(apiClientProps).getArtist({
|
||||||
query: {
|
query: {
|
||||||
|
|||||||
Reference in New Issue
Block a user