navidrome/core/artwork
Deluan Quintão a10f839221
fix(server): prefer cover.jpg over cover.1.jpg (#4684)
* fix(reader): prioritize cover art selection by base filename without numeric suffixes

Signed-off-by: Deluan <deluan@navidrome.org>

* fix(reader): update image file comparison to use natural sorting and prioritize files without numeric suffixes

Signed-off-by: Deluan <deluan@navidrome.org>

* refactor(reader): simplify comparison, add case-sensitivity test case

Signed-off-by: Deluan <deluan@navidrome.org>

---------

Signed-off-by: Deluan <deluan@navidrome.org>
2025-11-14 12:19:10 -05:00
..
artwork.go test: fix ignored artwork tests (#4103) 2025-05-22 15:48:24 -04:00
artwork_internal_test.go test: fix ignored artwork tests (#4103) 2025-05-22 15:48:24 -04:00
artwork_suite_test.go Fix tests and clean up code a bit 2022-12-28 15:31:56 -05:00
artwork_test.go Fix image stuttering (#3035) 2024-05-24 20:19:26 -04:00
cache_warmer.go feat: Multi-library support (#4181) 2025-07-18 18:41:12 -04:00
cache_warmer_test.go test: fix flaky CacheWarmer deduplication test 2025-11-09 12:19:28 -05:00
image_cache.go Add lastUpdated to coverArt ids. Helps with invalidating art cache client-side. 2023-02-08 20:03:31 -05:00
reader_album.go fix(server): prefer cover.jpg over cover.1.jpg (#4684) 2025-11-14 12:19:10 -05:00
reader_album_test.go fix(server): prefer cover.jpg over cover.1.jpg (#4684) 2025-11-14 12:19:10 -05:00
reader_artist.go fix(server): enhance artist folder detection with directory traversal (#4151) 2025-05-30 18:06:14 -04:00
reader_artist_test.go fix(server): enhance artist folder detection with directory traversal (#4151) 2025-05-30 18:06:14 -04:00
reader_mediafile.go feat(bfr): Big Refactor: new scanner, lots of new fields and tags, improvements and DB schema changes (#2709) 2025-02-19 20:35:17 -05:00
reader_playlist.go feat(bfr): Big Refactor: new scanner, lots of new fields and tags, improvements and DB schema changes (#2709) 2025-02-19 20:35:17 -05:00
reader_resized.go chore(server): show square flag in resize artwork logs 2025-03-18 12:43:52 -04:00
sources.go chore: fix some typos in comment and logs (#4333) 2025-07-13 14:31:15 -04:00
wire_providers.go Handle "naked" CoverArtIDs (IDs of album, mediafiles and playlists) 2022-12-28 15:31:56 -05:00