Files
romm/frontend
Sam Dornan 8b0f11aceb fix(soundtrack): fall back to the default cover when a game has no artwork (#4779)
The backend's Rom.path_cover_large/path_cover_small return "" rather than
null for a ROM without a cover, and a complete rescan resets url_cover to "".
resolveSoundtrackGameArtwork chained them with ??, so the empty string won
and the v2 mini player rendered <img src=""> instead of the default album
cover. The same value also leaked into the soundtrack panel's header art.

Treat empty strings as missing in resolveSoundtrackGameArtwork and in
playerCoverUrl, with tests for both.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 15:42:19 -05:00
..
2026-05-30 20:53:52 -04:00
2026-07-26 14:14:07 -04:00