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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user