mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Fixed: Don't Fail Artist Refresh if Album Refresh fails (#5567)
This commit is contained in:
parent
d2330a3232
commit
ad1825f63e
1 changed files with 8 additions and 1 deletions
|
@ -339,9 +339,16 @@ namespace NzbDrone.Core.Music
|
|||
if (forceAlbumRefresh ||
|
||||
(updatedMusicbrainzAlbums == null && _checkIfAlbumShouldBeRefreshed.ShouldRefresh(album)) ||
|
||||
(updatedMusicbrainzAlbums != null && updatedMusicbrainzAlbums.Contains(album.ForeignAlbumId)))
|
||||
{
|
||||
try
|
||||
{
|
||||
updated |= RefreshAlbumInfo(album, remoteAlbums, forceUpdateFileTags);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_logger.Error(e, "Couldn't refresh info for album {0}", album.Title);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
_logger.Debug("Skipping refresh of album: {0}", album.Title);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue