mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
Fix config option extract
never being used
This commit is contained in:
parent
044d0d9736
commit
b4541d3236
3 changed files with 3 additions and 3 deletions
|
@ -114,7 +114,7 @@ class autoProcessMovie(object):
|
|||
ssl = int(core.CFG[section][inputCategory].get("ssl", 0))
|
||||
web_root = core.CFG[section][inputCategory].get("web_root", "")
|
||||
remote_path = int(core.CFG[section][inputCategory].get("remote_path", 0))
|
||||
extract = int(section[inputCategory].get("extract", 0))
|
||||
extract = int(core.CFG[section][inputCategory].get("extract", 0))
|
||||
protocol = "https://" if ssl else "http://"
|
||||
|
||||
baseURL = "{0}{1}:{2}{3}/api/{4}".format(protocol, host, port, web_root, apikey)
|
||||
|
|
|
@ -49,7 +49,7 @@ class autoProcessMusic(object):
|
|||
ssl = int(core.CFG[section][inputCategory].get("ssl", 0))
|
||||
web_root = core.CFG[section][inputCategory].get("web_root", "")
|
||||
remote_path = int(core.CFG[section][inputCategory].get("remote_path", 0))
|
||||
extract = int(section[inputCategory].get("extract", 0))
|
||||
extract = int(core.CFG[section][inputCategory].get("extract", 0))
|
||||
protocol = "https://" if ssl else "http://"
|
||||
|
||||
url = "{0}{1}:{2}{3}/api".format(protocol, host, port, web_root)
|
||||
|
|
|
@ -75,7 +75,7 @@ class autoProcessTV(object):
|
|||
wait_for = int(core.CFG[section][inputCategory].get("wait_for", 2))
|
||||
force = int(core.CFG[section][inputCategory].get("force", 0))
|
||||
delete_on = int(core.CFG[section][inputCategory].get("delete_on", 0))
|
||||
extract = int(section[inputCategory].get("extract", 0))
|
||||
extract = int(core.CFG[section][inputCategory].get("extract", 0))
|
||||
|
||||
if not os.path.isdir(dirName) and os.path.isfile(dirName): # If the input directory is a file, assume single file download and split dir/name.
|
||||
dirName = os.path.split(os.path.normpath(dirName))[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue