mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-19 22:04:56 -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:
@@ -214,7 +214,12 @@ namespace NzbDrone.Core.NetImport
|
||||
{
|
||||
var response = FetchIndexerResponse(request);
|
||||
|
||||
return parser.ParseResponse(response).ToList();
|
||||
return parser.ParseResponse(response).ToList().Select(m =>
|
||||
{
|
||||
m.RootFolderPath = ((NetImportDefinition) Definition).RootFolderPath;
|
||||
m.ProfileId = ((NetImportDefinition) Definition).ProfileId;
|
||||
return m;
|
||||
}).ToList();
|
||||
}
|
||||
|
||||
protected virtual NetImportResponse FetchIndexerResponse(NetImportRequest request)
|
||||
|
||||
Reference in New Issue
Block a user