New: Log MusicBrainz IDs during refresh

This commit is contained in:
bakerboy448
2025-09-13 15:16:36 -05:00
parent 0be9d639d9
commit 3e6b934cc9
2 changed files with 7 additions and 7 deletions
@@ -145,7 +145,7 @@ namespace NzbDrone.Core.Music
protected override void LogProgress(Album local) protected override void LogProgress(Album local)
{ {
_logger.ProgressInfo("Updating Info for {0}", local.Title); _logger.ProgressInfo("Updating Info for Album '{0}' [{1}]", local.Title, local.ForeignAlbumId);
} }
protected override bool IsMerge(Album local, Album remote) protected override bool IsMerge(Album local, Album remote)
@@ -346,12 +346,12 @@ namespace NzbDrone.Core.Music
} }
catch (Exception e) catch (Exception e)
{ {
_logger.Error(e, "Couldn't refresh info for album {0}", album.Title); _logger.Error(e, "Couldn't refresh info for Album '{0}' [{1}]", album.Title, album.ForeignAlbumId);
} }
} }
else else
{ {
_logger.Debug("Skipping refresh of album: {0}", album.Title); _logger.Debug("Skipping refresh of Album '{0}' [{1}]", album.Title, album.ForeignAlbumId);
} }
} }
@@ -108,7 +108,7 @@ namespace NzbDrone.Core.Music
protected override void LogProgress(Artist local) protected override void LogProgress(Artist local)
{ {
_logger.ProgressInfo("Updating Info for {0}", local.Name); _logger.ProgressInfo("Updating Info for Artist '{0}' [{1}]", local.Name, local.ForeignArtistId);
} }
protected override bool IsMerge(Artist local, Artist remote) protected override bool IsMerge(Artist local, Artist remote)
@@ -348,7 +348,7 @@ namespace NzbDrone.Core.Music
} }
catch (Exception e) catch (Exception e)
{ {
_logger.Error(e, "Couldn't refresh info for {0}", artist); _logger.Error(e, "Couldn't refresh info for Artist '{0}' [{1}]", artist.Name, artist.ForeignArtistId);
UpdateTags(artist); UpdateTags(artist);
} }
} }
@@ -430,14 +430,14 @@ namespace NzbDrone.Core.Music
} }
catch (Exception e) catch (Exception e)
{ {
_logger.Error(e, "Couldn't refresh info for {0}", artist); _logger.Error(e, "Couldn't refresh info for Artist '{0}' [{1}]", artist.Name, artist.ForeignArtistId);
} }
UpdateTags(artist); UpdateTags(artist);
} }
else else
{ {
_logger.Info("Skipping refresh of artist: {0}", artist.Name); _logger.Info("Skipping refresh of Artist '{0}' [{1}]", artist.Name, artist.ForeignArtistId);
UpdateTags(artist); UpdateTags(artist);
} }
} }