Skip to content

Fix: a resumed queue loads its cover art at launch - #10

Merged
tsvb merged 1 commit into
mainfrom
fix-restored-art
Nov 16, 2026
Merged

tsvb merged 1 commit into
mainfrom
fix-restored-art

Conversation

@tsvb

@tsvb tsvb commented Nov 16, 2026

Copy link
Copy Markdown
Owner

After a relaunch, the restored (paused) queue showed the monogram everywhere — Home's hero, the pill, the lock screen — until play was pressed. restorePersistedState() rebuilt each track's artworkPath but never called loadArtwork; only startCurrent() and the gapless hand-off did. Now restore fetches the cover too, the same pairing startCurrent() uses (push now, re-push when the image lands).

Found via Goose 11/11/26 The Truth: the catalog's img.url (/images/shows/goo261111_03.jpg) resolves and loads fine — the gap was the app's.

Verified: unit tests pass; both schemes build warning-free; on the real Duo, the paused hero and the pill show the cover after a relaunch, folded and unfolded.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VriHZgxEZZHunPFyTvTmjt

restorePersistedState rebuilt the queue with each track's artworkPath
but never fetched the image — only startCurrent and the gapless hand-off
did. So after a relaunch the paused Home hero, the pill and the lock
screen all showed the monogram until play was pressed (Tim's Duo,
Goose 11/11/26: the catalog's img.url resolves and loads fine).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VriHZgxEZZHunPFyTvTmjt
@tsvb
tsvb merged commit ad1dfc7 into main Nov 16, 2026
1 check passed
@tsvb
tsvb deleted the fix-restored-art branch November 16, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant