Koito/internal/catalog
safierinx-a 07179b648e Fix artist images: filter Last.fm placeholder, reorder providers, fix alias bug
Three bugs causing all artist images to be the same Last.fm placeholder:

1. Last.fm stopped serving real artist images years ago and returns a
   generic placeholder (hash 2a96cbd8b46e442fc41c2b86b821562f) for
   every artist. Added filter in selectBestImage to reject URLs
   containing this known placeholder hash.

2. Provider order had Last.fm before Deezer for artist images. Since
   Last.fm "succeeded" with the placeholder, Deezer was never reached.
   Swapped order: Deezer now checked before Last.fm.

3. FetchMissingArtistImages had inverted if/else — aliases were used
   on error, bare name on success. Fixed condition to err == nil.
2026-03-27 03:11:05 +05:30
..
associate_album.go Add bulk import optimization: track_lookup cache, batch inserts, BulkSubmitter 2026-03-25 04:17:50 +05:30
associate_artists.go Add bulk import optimization: track_lookup cache, batch inserts, BulkSubmitter 2026-03-25 04:17:50 +05:30
associate_track.go fix: ensure listen activity correctly sums listen activity in step (#139) 2026-01-14 21:35:01 -05:00
catalog.go Add bulk import optimization: track_lookup cache, batch inserts, BulkSubmitter 2026-03-25 04:17:50 +05:30
catalog_test.go Pre-release version v0.0.14 (#96) 2025-11-19 20:26:56 -05:00
duration.go fix: correctly cycle tracks in backfill (#138) 2026-01-14 12:46:17 -05:00
duration_test.go fix: correctly cycle tracks in backfill (#138) 2026-01-14 12:46:17 -05:00
images.go Fix artist images: filter Last.fm placeholder, reorder providers, fix alias bug 2026-03-27 03:11:05 +05:30
images_test.go chore: static -> test_assets 2025-06-13 16:23:43 -04:00
lookup_key.go Fix track_lookup key: use unit separator instead of null byte 2026-03-25 11:28:16 +05:30
submit_listen_test.go Add MusicBrainz search-by-name enrichment for scrobbles without IDs 2026-03-25 00:01:24 +05:30