1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-26 09:37:12 +00:00

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

View file

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