navidrome/model/metadata
Deluan 8b5e50a1aa feat(scanner): mirror album re-PID flow for artists
When PID.Artist spec changes, existing artist IDs differ from newly-computed
ones. Without remapping, all annotations (starred, ratings, play counts) become
orphaned. This change builds an artistIDMap during phase 1 and reassigns
annotations on persist, mirroring the existing albumIDMap flow.

The migration logic is gated on the previous spec being non-empty and different
from the current spec, so the default "name" spec (byte-identical to the
historical hardcoded artistID) triggers no remapping on upgrade.
2026-05-24 19:42:04 -03:00
..
legacy_ids.go refactor(scanner): refactor legacyReleaseDate logic and add tests for date mapping 2025-11-12 13:11:33 -05:00
map_mediafile.go feat(subsonic): implement OpenSubsonic Transcoding extension (#4990) 2026-03-08 23:57:49 -04:00
map_mediafile_test.go refactor: multiple syntax updates for Go 1.26 2026-05-19 18:02:36 -03:00
map_participants.go feat(scanner): populate CreditedAs from paired *_credit tags 2026-05-24 19:30:53 -03:00
map_participants_test.go feat(scanner): populate CreditedAs from paired *_credit tags 2026-05-24 19:30:53 -03:00
metadata.go feat(subsonic): implement OpenSubsonic Transcoding extension (#4990) 2026-03-08 23:57:49 -04:00
metadata_suite_test.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
metadata_test.go fix(scanner): respect tag split config when multiple frames map to the same tag (#5193) 2026-05-23 19:20:18 -03:00
persistent_ids.go feat(scanner): mirror album re-PID flow for artists 2026-05-24 19:42:04 -03:00
persistent_ids_test.go refactor(scanner): wire buildArtists through computeArtistPID 2026-05-24 19:13:14 -03:00