From 1ce27a25439fc4270c1e071ffeec12fc30b28dd9 Mon Sep 17 00:00:00 2001 From: FoxxMD Date: Tue, 27 Jan 2026 17:05:01 +0000 Subject: [PATCH] docs: Comment why compilations don't work for maloja --- src/backend/common/vendor/maloja/MalojaApiClient.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/backend/common/vendor/maloja/MalojaApiClient.ts b/src/backend/common/vendor/maloja/MalojaApiClient.ts index 29e72f31..539c8624 100644 --- a/src/backend/common/vendor/maloja/MalojaApiClient.ts +++ b/src/backend/common/vendor/maloja/MalojaApiClient.ts @@ -416,9 +416,16 @@ export const playToScrobblePayload = (playObj: PlayObject, apiKey?: string): Mal scrobbleData.duration = listenedFor; } + // leaving this undefined should result in compilation albums when + // multiple artists are listed for the same album -- see Manual Scrobble page in Maloja UI + // https://github.com/krateng/maloja/blob/master/maloja/web/static/js/manualscrobble.js#L101 + // https://github.com/krateng/maloja/blob/master/maloja/web/static/js/manualscrobble.js#L136 + // BUT this is not actually working! if (albumArtists.length > 0) { scrobbleData.albumartists = albumArtists; } + // see also https://github.com/krateng/maloja/issues/96#issuecomment-1490562761 + // https://github.com/FoxxMD/multi-scrobbler/issues/454#issuecomment-3806367420 return scrobbleData; } \ No newline at end of file -- 2.51.2