From 1cef44a54343a44bd3bc5b39960befea76ff204c Mon Sep 17 00:00:00 2001 From: Deluan Date: Wed, 21 Jul 2021 11:12:03 -0400 Subject: [PATCH] Show in the logs which mbid will be used if multiple mbids are found for album/artist --- persistence/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/persistence/helpers.go b/persistence/helpers.go index 85bfc373..13eff875 100644 --- a/persistence/helpers.go +++ b/persistence/helpers.go @@ -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)