Skip to content

🎧 Your Personal Streaming Service

Fix log message about multiple MBIDs

Deluan00e418cb2ad9
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 {