mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Fixed: Albums not saving to DB due to release constraint
This commit is contained in:
@@ -150,6 +150,8 @@ namespace NzbDrone.Core.Music
|
|||||||
albumToUpdate.ForeignAlbumId = albumInfo.ForeignAlbumId;
|
albumToUpdate.ForeignAlbumId = albumInfo.ForeignAlbumId;
|
||||||
albumToUpdate.Title = albumInfo.Title ?? "Unknown";
|
albumToUpdate.Title = albumInfo.Title ?? "Unknown";
|
||||||
albumToUpdate.AlbumType = albumInfo.AlbumType;
|
albumToUpdate.AlbumType = albumInfo.AlbumType;
|
||||||
|
albumToUpdate.Releases = albumInfo.Releases;
|
||||||
|
albumToUpdate.CurrentRelease = albumInfo.CurrentRelease;
|
||||||
|
|
||||||
_albumService.AddAlbum(albumToUpdate);
|
_albumService.AddAlbum(albumToUpdate);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user