1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-20 21:55:03 -04:00

Movies can now be added monitored or unmonitored.

This commit is contained in:
Leonardo Galli
2017-01-23 15:31:09 +01:00
parent 82f29cdc70
commit 80e53f209d
7 changed files with 29 additions and 0 deletions
@@ -21,6 +21,7 @@ namespace NzbDrone.Api.NetImport
resource.EnableAuto = definition.EnableAuto;
resource.ProfileId = definition.ProfileId;
resource.RootFolderPath = definition.RootFolderPath;
resource.ShouldMonitor = definition.ShouldMonitor;
}
protected override void MapToModel(NetImportDefinition definition, NetImportResource resource)
@@ -31,6 +32,7 @@ namespace NzbDrone.Api.NetImport
definition.EnableAuto = resource.EnableAuto;
definition.ProfileId = resource.ProfileId;
definition.RootFolderPath = resource.RootFolderPath;
definition.ShouldMonitor = resource.ShouldMonitor;
}
protected override void Validate(NetImportDefinition definition, bool includeWarnings)