mirror of https://github.com/lidarr/Lidarr
Fixed: Albums not saving to DB due to release constraint
This commit is contained in:
parent
de22991856
commit
b0238c1af4
|
@ -150,6 +150,8 @@ namespace NzbDrone.Core.Music
|
|||
albumToUpdate.ForeignAlbumId = albumInfo.ForeignAlbumId;
|
||||
albumToUpdate.Title = albumInfo.Title ?? "Unknown";
|
||||
albumToUpdate.AlbumType = albumInfo.AlbumType;
|
||||
albumToUpdate.Releases = albumInfo.Releases;
|
||||
albumToUpdate.CurrentRelease = albumInfo.CurrentRelease;
|
||||
|
||||
_albumService.AddAlbum(albumToUpdate);
|
||||
|
||||
|
|
Loading…
Reference in New Issue