mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 22:03:13 -07:00
pass cmd as param #1712
This commit is contained in:
parent
9673e90bd3
commit
d960124eab
1 changed files with 2 additions and 4 deletions
|
@ -271,10 +271,8 @@ def process(section, dir_name, input_name=None, failed=False, client_agent='manu
|
|||
|
||||
url = None
|
||||
if section == 'SickBeard':
|
||||
if apikey and fork == 'SickGear':
|
||||
url = '{0}{1}:{2}{3}/api/{4}/?cmd=sg.postprocess'.format(protocol, host, port, web_root, apikey)
|
||||
elif apikey:
|
||||
url = '{0}{1}:{2}{3}/api/{4}/?cmd=postprocess'.format(protocol, host, port, web_root, apikey)
|
||||
if apikey:
|
||||
url = '{0}{1}:{2}{3}/api/{4}/'.format(protocol, host, port, web_root, apikey)
|
||||
elif fork == 'Stheno':
|
||||
url = '{0}{1}:{2}{3}/home/postprocess/process_episode'.format(protocol, host, port, web_root)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue