From 00e418cb2ad9ddeb98b613d75bb07ea08379a643 Mon Sep 17 00:00:00 2001 From: Deluan Date: Mon, 19 Jul 2021 11:38:14 -0400 Subject: [PATCH] Fix log message about multiple MBIDs --- persistence/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/persistence/helpers.go b/persistence/helpers.go index 298db8466..67effa07f 100644 --- a/persistence/helpers.go +++ b/persistence/helpers.go @@ -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 {