Fixed: Albums not saving to DB due to release constraint

This commit is contained in:
Qstick 2018-01-19 23:03:08 -05:00
parent de22991856
commit b0238c1af4
1 changed files with 2 additions and 0 deletions

View File

@ -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);