Fix artist name parsing for Last.fm imports

Artist name parsing (for "feat." in the artist name) is skipped when the `ArtistNames` field is populated (0ec7b458cc/internal/catalog/associate_artists.go (L55-L62)).

Last.fm doesn't support multiple artists so this parsing is always going to be needed here.
This commit is contained in:
megatwig 2026-03-02 17:33:30 +00:00 committed by GitHub
parent 0ec7b458cc
commit ab6382756d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -108,7 +108,6 @@ func ImportLastFMFile(ctx context.Context, store db.DB, mbzc mbz.MusicBrainzCall
opts := catalog.SubmitListenOpts{
MbzCaller: mbzc,
Artist: track.Artist.Text,
ArtistNames: []string{track.Artist.Text},
ArtistMbzIDs: []uuid.UUID{artistMbzID},
TrackTitle: track.Name,
RecordingMbzID: trackMbzID,