From c199dc23697999a6ec999463dec4c50393de6f16 Mon Sep 17 00:00:00 2001 From: James Babcock Date: Sat, 22 Aug 2026 21:23:16 -0700 Subject: [PATCH] Fix bug that caused album art to sometimes not be displayed in Music app when it should --- app/apps/music/music-app.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/apps/music/music-app.ts b/app/apps/music/music-app.ts index d6aa08d6..1f48186b 100644 --- a/app/apps/music/music-app.ts +++ b/app/apps/music/music-app.ts @@ -354,7 +354,10 @@ class MusicAppLayer implements Layer { private drawArt(image: GrayImage, media: MediaControllerState): void { const key = `${media.packageName}|${media.title}|${media.album}`; - if (key !== this.artKey) { + // Retry while null: players (e.g. Spotify) often publish metadata before + // the art bitmap is downloaded, then re-emit the same strings with the + // bitmap attached. The no-art fetch path is a cheap near-no-op. + if (key !== this.artKey || this.art === null) { this.artKey = key; this.art = mediaControllerBridge.getAlbumArt(ART_SIZE); }