mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
Fix for download_id
This commit is contained in:
parent
cdadf045a8
commit
42b14fd079
1 changed files with 7 additions and 5 deletions
|
@ -153,8 +153,12 @@ class autoProcessMovie:
|
||||||
logger.error("Could not find any releases marked as WANTED on CouchPotato to compare changes against %s, skipping ...", nzbName)
|
logger.error("Could not find any releases marked as WANTED on CouchPotato to compare changes against %s, skipping ...", nzbName)
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
release_id = None
|
||||||
|
media_id = None
|
||||||
|
if len(releases) == 1:
|
||||||
release_id = releases.keys()[0]
|
release_id = releases.keys()[0]
|
||||||
media_id = releases[release_id]['media_id']
|
media_id = releases[release_id]['media_id']
|
||||||
|
download_id = releases['download_info']['id']
|
||||||
|
|
||||||
process_all_exceptions(nzbName.lower(), dirName)
|
process_all_exceptions(nzbName.lower(), dirName)
|
||||||
nzbName, dirName = convert_to_ascii(nzbName, dirName)
|
nzbName, dirName = convert_to_ascii(nzbName, dirName)
|
||||||
|
@ -173,8 +177,6 @@ class autoProcessMovie:
|
||||||
command = "/renamer.scan"
|
command = "/renamer.scan"
|
||||||
|
|
||||||
params = {}
|
params = {}
|
||||||
if len(releases) == 1:
|
|
||||||
download_id =
|
|
||||||
if download_id:
|
if download_id:
|
||||||
params['downloader'] = clientAgent
|
params['downloader'] = clientAgent
|
||||||
params['download_id'] = download_id
|
params['download_id'] = download_id
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue