mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 13:10:13 -07:00
Fixed: Albums added by disk scan have correct monitored status
This commit is contained in:
parent
b7fb871eea
commit
334044ae31
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue