Show in the logs which mbid will be used if multiple mbids are found for album/artist

This commit is contained in:
Deluan 2021-07-21 11:12:03 -04:00 committed by Joe Stump
parent f9cfc4c63b
commit cdba81d09a
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

@ -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)