Koito/internal
safierinx-a c2d393aa03 Fix Maloja importer resilience: nil MBZ client, null album, error handling
Root cause of the panic at ~1,693 items: importers created
`&mbz.MusicBrainzClient{}` (nil requestQueue) instead of using the
engine's properly initialized client. When any code path called an MBZ
method, it panicked on the nil channel.

Changes:
- Pass engine's MBZ client to Maloja and Spotify importers
- Change MalojaTrack.Album to pointer type to handle null album JSON
- Continue on error instead of aborting the entire import
- Accept both Maloja export formats ("scrobbles" and "list" keys)
- Extract per-file import into importFile() with its own defer/recover
- Add progress logging every 500 items

Test fixtures:
- maloja_import_null_album_test.json (null album, valid album, empty artists)
- maloja_api_format_test.json (API "list" format)

New tests: TestImportMaloja_NullAlbum, TestImportMaloja_ApiFormat

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 23:58:45 +05:30
..
catalog fix: improve subsonic image searching (#164) 2026-01-21 14:54:52 -05:00
cfg feat: add api key auth to web api (#183) 2026-01-26 13:48:43 -05:00
db fix: correct interest bucket queries (#169) 2026-01-22 17:01:46 -05:00
export feat: v0.0.10 (#23) 2025-06-18 08:48:19 -04:00
images feat: lastfm image support (#166) 2026-01-21 16:03:05 -05:00
importer Fix Maloja importer resilience: nil MBZ client, null album, error handling 2026-03-24 23:58:45 +05:30
logger chore: initial public commit 2025-06-11 19:45:39 -04:00
mbz Pre-release version v0.0.13 (#52) 2025-07-26 15:57:46 -04:00
memkv Pre-release version v0.0.14 (#96) 2025-11-19 20:26:56 -05:00
models feat: all time rank display (#149) 2026-01-16 01:03:23 -05:00
repository fix: correct interest bucket queries (#169) 2026-01-22 17:01:46 -05:00
summary fix: use sql rank (#148) 2026-01-15 21:08:30 -05:00
utils fix: respect client timezone for requests (#119) 2026-01-10 01:45:31 -05:00