mirror of
https://github.com/Lidarr/Lidarr
synced 2026-05-03 01:51:24 +02: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
|
|
@ -340,7 +340,14 @@ public bool RefreshAlbumInfo(List<Album> albums, List<Album> remoteAlbums, bool
|
|||
(updatedMusicbrainzAlbums == null && _checkIfAlbumShouldBeRefreshed.ShouldRefresh(album)) ||
|
||||
(updatedMusicbrainzAlbums != null && updatedMusicbrainzAlbums.Contains(album.ForeignAlbumId)))
|
||||
{
|
||||
updated |= RefreshAlbumInfo(album, remoteAlbums, forceUpdateFileTags);
|
||||
try
|
||||
{
|
||||
updated |= RefreshAlbumInfo(album, remoteAlbums, forceUpdateFileTags);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_logger.Error(e, "Couldn't refresh info for album {0}", album.Title);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue