Fixed: Albums added by disk scan have correct monitored status

pull/2347/head
ta264 3 years ago
parent b7fb871eea
commit 334044ae31

@ -389,6 +389,8 @@ namespace NzbDrone.Core.MediaFiles.TrackImport
_logger.Debug($"Adding remote album {album}"); _logger.Debug($"Adding remote album {album}");
try try
{ {
album.Monitored = album.Artist.Value.Monitored;
album.Added = DateTime.UtcNow;
_albumService.InsertMany(new List<Album> { album }); _albumService.InsertMany(new List<Album> { album });
_refreshAlbumService.RefreshAlbumInfo(album, new List<Album> { album }, false); _refreshAlbumService.RefreshAlbumInfo(album, new List<Album> { album }, false);
dbAlbum = _albumService.FindById(album.ForeignAlbumId); dbAlbum = _albumService.FindById(album.ForeignAlbumId);

Loading…
Cancel
Save