mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
PostDownloadScanJob can now be passed a path
This commit is contained in:
parent
b21bf01bf0
commit
cb0f1fe513
3 changed files with 80 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue