mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
Standardize processing
This commit is contained in:
parent
49af821bcb
commit
3e676f89a5
1 changed files with 2 additions and 5 deletions
|
@ -86,14 +86,11 @@ def process():
|
||||||
status = parse_status()
|
status = parse_status()
|
||||||
download_id = parse_download_id()
|
download_id = parse_download_id()
|
||||||
failure_link = parse_failure_link()
|
failure_link = parse_failure_link()
|
||||||
|
|
||||||
# All checks done, now launching the script.
|
|
||||||
client_agent = 'nzbget'
|
|
||||||
return nzb.process(
|
return nzb.process(
|
||||||
os.environ['NZBPP_DIRECTORY'],
|
input_directory=os.environ['NZBPP_DIRECTORY'],
|
||||||
input_name=os.environ['NZBPP_NZBNAME'],
|
input_name=os.environ['NZBPP_NZBNAME'],
|
||||||
status=status,
|
status=status,
|
||||||
client_agent=client_agent,
|
client_agent='nzbget',
|
||||||
download_id=download_id,
|
download_id=download_id,
|
||||||
input_category=os.environ['NZBPP_CATEGORY'],
|
input_category=os.environ['NZBPP_CATEGORY'],
|
||||||
failure_link=failure_link,
|
failure_link=failure_link,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue