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

Add Ability to set RootFolderPath for Net Import List

Fixed other things. Finished command to automatically add a movie.
This commit is contained in:
Leonardo Galli
2017-01-23 15:21:49 +01:00
parent 93d6505f85
commit 82f29cdc70
13 changed files with 157 additions and 9 deletions
@@ -20,7 +20,7 @@ namespace NzbDrone.Api.NetImport
resource.Enabled = definition.Enabled;
resource.EnableAuto = definition.EnableAuto;
resource.ProfileId = definition.ProfileId;
resource.RootFolderPath = definition.RootFolderPath;
}
protected override void MapToModel(NetImportDefinition definition, NetImportResource resource)
@@ -30,6 +30,7 @@ namespace NzbDrone.Api.NetImport
definition.Enabled = resource.Enabled;
definition.EnableAuto = resource.EnableAuto;
definition.ProfileId = resource.ProfileId;
definition.RootFolderPath = resource.RootFolderPath;
}
protected override void Validate(NetImportDefinition definition, bool includeWarnings)