mirror of
https://github.com/Lidarr/Lidarr.git
synced 2026-02-09 15:29:42 -06:00
New: Log MusicBrainz IDs during refresh
This commit is contained in:
@@ -145,7 +145,7 @@ namespace NzbDrone.Core.Music
|
||||
|
||||
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)
|
||||
@@ -346,12 +346,12 @@ namespace NzbDrone.Core.Music
|
||||
}
|
||||
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
|
||||
{
|
||||
_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)
|
||||
{
|
||||
_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)
|
||||
@@ -348,7 +348,7 @@ namespace NzbDrone.Core.Music
|
||||
}
|
||||
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);
|
||||
}
|
||||
}
|
||||
@@ -430,14 +430,14 @@ namespace NzbDrone.Core.Music
|
||||
}
|
||||
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);
|
||||
}
|
||||
else
|
||||
{
|
||||
_logger.Info("Skipping refresh of artist: {0}", artist.Name);
|
||||
_logger.Info("Skipping refresh of Artist '{0}' [{1}]", artist.Name, artist.ForeignArtistId);
|
||||
UpdateTags(artist);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user