Add download id to Radarr call. Default 6 min wait. Fixes #1170

This commit is contained in:
clinton-hall 2017-02-25 07:49:14 +10:30
commit a0f28804f6
5 changed files with 9 additions and 7 deletions

View file

@ -86,7 +86,7 @@
keep_archive = 1
extract = 1
nzbExtractionBy = Downloader
wait_for = 2
wait_for = 6
# Set this to minimum required size to consider a media file valid (in MB)
minSize = 0
# Enable/Disable deleting ignored files (samples and invalid media files)
@ -153,7 +153,7 @@
keep_archive = 1
extract = 1
nzbExtractionBy = Downloader
wait_for = 2
wait_for = 6
# Set this to minimum required size to consider a media file valid (in MB)
minSize = 0
# Enable/Disable deleting ignored files (samples and invalid media files)

View file

@ -248,7 +248,9 @@ class autoProcessMovie(object):
logger.postprocess("Starting {0} scan for {1}".format(method, inputName), section)
if section == "Radarr":
payload = {'name': 'DownloadedMovieScan', 'path': params['media_folder']}
payload = {'name': 'DownloadedMovieScan', 'path': params['media_folder'], 'downloadClientId': download_id}
if not download_id:
payload.pop("downloadClientId")
logger.debug("Opening URL: {0} with PARAMS: {1}".format(baseURL, payload), section)
logger.postprocess("Starting DownloadedMovieScan scan for {0}".format(inputName), section)

View file

@ -114,7 +114,7 @@
# Radarr wait_for
#
# Set the number of minutes to wait after calling the renamer, to check the episode has changed status.
#rawait_for=2
#rawait_for=6
# Radarr Delete Failed Downloads (0, 1).
#
@ -218,7 +218,7 @@
# NzbDrone wait_for
#
# Set the number of minutes to wait after calling the renamer, to check the episode has changed status.
#ndwait_for=2
#ndwait_for=6
# NzbDrone Delete Failed Downloads (0, 1).
#

View file

@ -66,7 +66,7 @@
# NzbDrone wait_for
#
# Set the number of minutes to wait after calling the renamer, to check the episode has changed status.
#ndwait_for=2
#ndwait_for=6
# NzbDrone Delete Failed Downloads (0, 1).
#

View file

@ -66,7 +66,7 @@
# Radarr wait_for
#
# Set the number of minutes to wait after calling the renamer, to check the episode has changed status.
#rawait_for=2
#rawait_for=6
# Radarr Delete Failed Downloads (0, 1).
#