Skip to content

Commit

Permalink
Fix log message about multiple MBIDs
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Jul 20, 2021
1 parent 2742977 commit 00e418c
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 @@ -80,7 +80,7 @@ func getMostFrequentMbzID(ctx context.Context, mbzIDs, entityName, name string)
}
}

if name != consts.VariousArtists {
if len(idCounts) > 1 && name != consts.VariousArtists {
if topId == consts.VariousArtistsMbzId {
log.Warn(ctx, "Artist with mbid of Various Artists", "name", name, "mbid", topId)
} else {
Expand Down

0 comments on commit 00e418c

Please sign in to comment.