mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-26 09:37:12 +00:00
Fixed: Handle null on album refresh
This commit is contained in:
parent
26ef43f302
commit
054578fa2d
1 changed files with 1 additions and 2 deletions
|
@ -129,8 +129,7 @@ public void RefreshAlbumInfo(Artist artist, IEnumerable<Album> remoteAlbums)
|
|||
|
||||
if (albumToUpdate != null)
|
||||
{
|
||||
|
||||
tuple = _albumInfo.GetAlbumInfo(album.ForeignAlbumId, albumToUpdate.CurrentRelease.Id);
|
||||
tuple = _albumInfo.GetAlbumInfo(album.ForeignAlbumId, albumToUpdate.CurrentRelease?.Id);
|
||||
albumInfo = tuple.Item1;
|
||||
existingAlbums.Remove(albumToUpdate);
|
||||
updateList.Add(albumToUpdate);
|
||||
|
|
Loading…
Reference in a new issue