mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-23 06:25:22 -07:00
Merge 49004e08e0
into e96998a731
This commit is contained in:
commit
4f49167430
1 changed files with 4 additions and 0 deletions
|
@ -716,6 +716,10 @@ def main(args, section=None):
|
|||
result = process(os.environ['NZBPP_DIRECTORY'], inputName=os.environ['NZBPP_NZBNAME'], status=status,
|
||||
clientAgent=clientAgent, download_id=download_id, inputCategory=os.environ['NZBPP_CATEGORY'],
|
||||
failureLink=failureLink)
|
||||
# Manual program
|
||||
elif args[5] == 'manual':
|
||||
logger.info("Script triggered manually")
|
||||
result = process(args[1], inputName=args[2], inputCategory=args[3], download_id=args[4])
|
||||
# SABnzbd Pre 0.7.17
|
||||
elif len(args) == core.SABNZB_NO_OF_ARGUMENTS:
|
||||
# SABnzbd argv:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue