Fix Discogs artwork selection to show unique images

- Modified search_artwork_options to return unique images from different releases
- Only take one image per release (prefer cover_image, fallback to thumb)
- Use HashSet to track and filter duplicate URLs
- Process up to 20 results to get more diverse options
- Adjusted grid layout from minmax(100px, 1fr) to minmax(80px, 1fr) to fit at least 4 items per row
This commit is contained in:
vicrodh committed 2026-01-17 00:21:23 -06:00
1 parent dab5c28727
commit 2a5c181618
2 files changed
+35 -20

No files matched your search

@@ -3613,7 +3613,7 @@
.discogs-options {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
gap: 12px;
margin-top: 8px;
}