mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 02:43:33 +00:00
fix regression on subsonic album artist play
This commit is contained in:
parent
076693e969
commit
6f7cb468b2
1 changed files with 5 additions and 3 deletions
|
|
@ -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: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue