mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
added option no_extract_failed. Fixes #1129
This commit is contained in:
parent
dcd99da19e
commit
c94731bcbb
11 changed files with 47 additions and 8 deletions
|
@ -51,8 +51,12 @@ class autoProcessMusic(object):
|
|||
ssl = int(cfg.get("ssl", 0))
|
||||
web_root = cfg.get("web_root", "")
|
||||
remote_path = int(cfg.get("remote_path", 0))
|
||||
extract = int(cfg.get("extract", 0))
|
||||
protocol = "https://" if ssl else "http://"
|
||||
status = int(status)
|
||||
if status == 1 and core.NOEXTRACTFAILED:
|
||||
extract = 0
|
||||
else:
|
||||
extract = int(cfg.get("extract", 0))
|
||||
|
||||
url = "{0}{1}:{2}{3}/api".format(protocol, host, port, web_root)
|
||||
if not server_responding(url):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue