mirror of
https://github.com/Lidarr/Lidarr
synced 2026-03-13 16:03:22 +01:00
New: Log MusicBrainz IDs during refresh
This commit is contained in:
parent
0be9d639d9
commit
3e6b934cc9
2 changed files with 7 additions and 7 deletions
|
|
@ -145,7 +145,7 @@ protected override bool ShouldDelete(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)
|
||||
|
|
@ -346,12 +346,12 @@ public bool RefreshAlbumInfo(List<Album> albums, List<Album> remoteAlbums, bool
|
|||
}
|
||||
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 @@ protected override bool ShouldDelete(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)
|
||||
|
|
@ -348,7 +348,7 @@ private void RefreshSelectedArtists(List<int> artistIds, bool isNew, CommandTrig
|
|||
}
|
||||
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 @@ public void Execute(RefreshArtistCommand message)
|
|||
}
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue