navidrome/core/artwork/e2e
Deluan eb283b1646 fix(artwork): run disc resolution for single-disc albums too
ed4178a6 gated serveDisc on len(album.Discs) > 1, claiming parity with the legacy
reader. The legacy reader has no such gate: artwork.go dispatches every dc- id to
newDiscArtworkReader, whose Reader() walks DiscArtPriority unconditionally.

The gate also lost art. For a single-disc album whose only image is disc1.jpg,
the disc request skipped the chain and fell through to album art, which does not
match CoverArtPriority — so tracks tagged disc 1 (whose CoverArtID is a dc- id)
served nothing at all, where before they served disc1.jpg.

A single disc can legitimately have its own cover, distinct from the album's, and
DiscArtPriority is what expresses that preference. Drop the gate and restore the
single-disc e2e scenarios that covered it.
2026-07-24 22:12:29 -04:00
..
acquire_serve_test.go fix(artwork): run disc resolution for single-disc albums too 2026-07-24 22:12:29 -04:00
album_test.go fix(artwork): run disc resolution for single-disc albums too 2026-07-24 22:12:29 -04:00
artist_test.go fix(artwork): run disc resolution for single-disc albums too 2026-07-24 22:12:29 -04:00
disc_test.go fix(artwork): run disc resolution for single-disc albums too 2026-07-24 22:12:29 -04:00
e2e_suite_test.go chore(artwork): generic 500 bodies on refresh endpoint, trim stale test comments 2026-07-23 14:08:08 -04:00
mediafile_test.go fix(artwork): run disc resolution for single-disc albums too 2026-07-24 22:12:29 -04:00
playlist_test.go fix(artwork): run disc resolution for single-disc albums too 2026-07-24 22:12:29 -04:00
radio_test.go test(artwork): restore resolution edge-case e2e coverage 2026-07-24 21:27:39 -04:00
resolution_harness_test.go fix(artwork): run disc resolution for single-disc albums too 2026-07-24 22:12:29 -04:00