mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
Add download id to Radarr call. Default 6 min wait. Fixes #1170
This commit is contained in:
parent
199fd5d0df
commit
a0f28804f6
5 changed files with 9 additions and 7 deletions
|
@ -86,7 +86,7 @@
|
||||||
keep_archive = 1
|
keep_archive = 1
|
||||||
extract = 1
|
extract = 1
|
||||||
nzbExtractionBy = Downloader
|
nzbExtractionBy = Downloader
|
||||||
wait_for = 2
|
wait_for = 6
|
||||||
# Set this to minimum required size to consider a media file valid (in MB)
|
# Set this to minimum required size to consider a media file valid (in MB)
|
||||||
minSize = 0
|
minSize = 0
|
||||||
# Enable/Disable deleting ignored files (samples and invalid media files)
|
# Enable/Disable deleting ignored files (samples and invalid media files)
|
||||||
|
@ -153,7 +153,7 @@
|
||||||
keep_archive = 1
|
keep_archive = 1
|
||||||
extract = 1
|
extract = 1
|
||||||
nzbExtractionBy = Downloader
|
nzbExtractionBy = Downloader
|
||||||
wait_for = 2
|
wait_for = 6
|
||||||
# Set this to minimum required size to consider a media file valid (in MB)
|
# Set this to minimum required size to consider a media file valid (in MB)
|
||||||
minSize = 0
|
minSize = 0
|
||||||
# Enable/Disable deleting ignored files (samples and invalid media files)
|
# Enable/Disable deleting ignored files (samples and invalid media files)
|
||||||
|
|
|
@ -248,7 +248,9 @@ class autoProcessMovie(object):
|
||||||
logger.postprocess("Starting {0} scan for {1}".format(method, inputName), section)
|
logger.postprocess("Starting {0} scan for {1}".format(method, inputName), section)
|
||||||
|
|
||||||
if section == "Radarr":
|
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.debug("Opening URL: {0} with PARAMS: {1}".format(baseURL, payload), section)
|
||||||
logger.postprocess("Starting DownloadedMovieScan scan for {0}".format(inputName), section)
|
logger.postprocess("Starting DownloadedMovieScan scan for {0}".format(inputName), section)
|
||||||
|
|
||||||
|
|
|
@ -114,7 +114,7 @@
|
||||||
# Radarr wait_for
|
# Radarr wait_for
|
||||||
#
|
#
|
||||||
# Set the number of minutes to wait after calling the renamer, to check the episode has changed status.
|
# 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).
|
# Radarr Delete Failed Downloads (0, 1).
|
||||||
#
|
#
|
||||||
|
@ -218,7 +218,7 @@
|
||||||
# NzbDrone wait_for
|
# NzbDrone wait_for
|
||||||
#
|
#
|
||||||
# Set the number of minutes to wait after calling the renamer, to check the episode has changed status.
|
# 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).
|
# NzbDrone Delete Failed Downloads (0, 1).
|
||||||
#
|
#
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
# NzbDrone wait_for
|
# NzbDrone wait_for
|
||||||
#
|
#
|
||||||
# Set the number of minutes to wait after calling the renamer, to check the episode has changed status.
|
# 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).
|
# NzbDrone Delete Failed Downloads (0, 1).
|
||||||
#
|
#
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
# Radarr wait_for
|
# Radarr wait_for
|
||||||
#
|
#
|
||||||
# Set the number of minutes to wait after calling the renamer, to check the episode has changed status.
|
# 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).
|
# Radarr Delete Failed Downloads (0, 1).
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue