Skip to content

🎧 Your Personal Streaming Service

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

Deluan1cef44a54343
diff --git a/persistence/helpers.go b/persistence/helpers.go
index 85bfc3737..13eff8758 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)