mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
fix setting of Mylar config from NZBGet.
This commit is contained in:
parent
ec6129cb36
commit
c2f10b832c
2 changed files with 4 additions and 1 deletions
|
@ -328,7 +328,7 @@ def addnzbget():
|
||||||
envKeys = ['CATEGORY', 'HOST', 'PORT', 'USERNAME', 'PASSWORD', 'SSL', 'WEB_ROOT']
|
envKeys = ['CATEGORY', 'HOST', 'PORT', 'USERNAME', 'PASSWORD', 'SSL', 'WEB_ROOT']
|
||||||
cfgKeys = ['mlCategory', 'host', 'port', 'username', 'password', 'ssl', 'web_root']
|
cfgKeys = ['mlCategory', 'host', 'port', 'username', 'password', 'ssl', 'web_root']
|
||||||
for index in range(len(envKeys)):
|
for index in range(len(envKeys)):
|
||||||
key = 'NZBPO_ML' + envKeys[index]
|
key = 'NZBPO_MY' + envKeys[index]
|
||||||
if os.environ.has_key(key):
|
if os.environ.has_key(key):
|
||||||
option = cfgKeys[index]
|
option = cfgKeys[index]
|
||||||
value = os.environ[key]
|
value = os.environ[key]
|
||||||
|
|
|
@ -8,6 +8,9 @@ Delete torrent if uselink = move
|
||||||
Added forceClean for outputDir. Works in file permissions prevent CP/SB from moving files.
|
Added forceClean for outputDir. Works in file permissions prevent CP/SB from moving files.
|
||||||
Ignore .x264 from archive "part" checks.
|
Ignore .x264 from archive "part" checks.
|
||||||
|
|
||||||
|
Impacts NZBs
|
||||||
|
Fix setting of Mylar config from NZBGet.
|
||||||
|
|
||||||
V9.2 05/03/2014
|
V9.2 05/03/2014
|
||||||
|
|
||||||
Impacts All
|
Impacts All
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue