mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Fixed: Monitor specific album option for lists
This commit is contained in:
parent
50b5c2b2c9
commit
c38dcd1495
1 changed files with 9 additions and 2 deletions
|
@ -180,7 +180,7 @@ namespace NzbDrone.Core.ImportLists
|
|||
{
|
||||
var monitored = importList.ShouldMonitor != ImportListMonitorType.None;
|
||||
|
||||
albumsToAdd.Add(new Album
|
||||
var toAdd = new Album
|
||||
{
|
||||
ForeignAlbumId = report.AlbumMusicBrainzId,
|
||||
Monitored = monitored,
|
||||
|
@ -199,7 +199,14 @@ namespace NzbDrone.Core.ImportLists
|
|||
Monitor = monitored ? MonitorTypes.All : MonitorTypes.None
|
||||
}
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
if (importList.ShouldMonitor == ImportListMonitorType.SpecificAlbum)
|
||||
{
|
||||
toAdd.Artist.Value.AddOptions.AlbumsToMonitor.Add(toAdd.ForeignAlbumId);
|
||||
}
|
||||
|
||||
albumsToAdd.Add(toAdd);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue