mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
PostDownloadScanJob can now be passed a path
This commit is contained in:
@@ -41,7 +41,13 @@ namespace NzbDrone.Core.Jobs
|
||||
|
||||
public virtual void Start(ProgressNotification notification, dynamic options)
|
||||
{
|
||||
var dropFolder = _configProvider.SabDropDirectory;
|
||||
string dropFolder;
|
||||
|
||||
if (options != null && !String.IsNullOrWhiteSpace(options.Path))
|
||||
dropFolder = options.Path;
|
||||
|
||||
else
|
||||
dropFolder = _configProvider.SabDropDirectory;
|
||||
|
||||
if (String.IsNullOrWhiteSpace(dropFolder))
|
||||
{
|
||||
|
Reference in New Issue
Block a user