Skip to content

Commit

Permalink
Show in the logs which mbid will be used if multiple mbids are found …
Browse files Browse the repository at this point in the history
…for album/artist
  • Loading branch information
deluan committed Jul 21, 2021
1 parent 4fcb238 commit 1cef44a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion persistence/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func getMostFrequentMbzID(ctx context.Context, mbzIDs, entityName, name string)
}

if len(idCounts) > 1 && name != consts.VariousArtists {
log.Warn(ctx, "Multiple MBIDs found for "+entityName, "name", name, "mbids", idCounts)
log.Warn(ctx, "Multiple MBIDs found for "+entityName, "name", name, "mbids", idCounts, "selectedId", topId)
}
if topId == consts.VariousArtistsMbzId && name != consts.VariousArtists {
log.Warn(ctx, "Artist with mbid of 'Various Artists'", "name", name, "mbid", topId)
Expand Down

0 comments on commit 1cef44a

Please sign in to comment.