mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-01 07:21:17 +00:00
Song coverArt ids emitted to Subsonic clients embedded no timestamp for the disc/album fallback paths (always `_0`), so clients that cache by coverArt id kept stale art after an album cover upload or delete. Fold the song's CoverArtUpdatedAt into DiscCoverArtID and AlbumCoverArtID; ids are unchanged when no cover was ever uploaded. The web UI disc-header thumbnails had the same gap: getDiscCoverArtUrl only used the song's updatedAt. It now takes the record and picks the newest of updatedAt/coverArtUpdatedAt, sharing the cache-key helper with getCoverArtUrl.