mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-26 17:47:08 +00:00
Fixed: Albums not saving to DB due to release constraint
This commit is contained in:
parent
de22991856
commit
b0238c1af4
1 changed files with 2 additions and 0 deletions
|
@ -150,6 +150,8 @@ public void RefreshAlbumInfo(Artist artist, IEnumerable<Album> remoteAlbums)
|
|||
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 a new issue