Fix config option extract never being used

This commit is contained in:
Labrys 2016-06-05 01:40:13 -04:00
parent 044d0d9736
commit b4541d3236
3 changed files with 3 additions and 3 deletions

View file

@ -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)