mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 12:59:36 -07:00
add SB api key to NZBGet config.
This commit is contained in:
parent
713e237893
commit
697ae370ad
3 changed files with 8 additions and 2 deletions
|
@ -316,9 +316,9 @@ class ConfigObj(configobj.ConfigObj, Section):
|
||||||
|
|
||||||
section = "SickBeard"
|
section = "SickBeard"
|
||||||
envCatKey = 'NZBPO_SBCATEGORY'
|
envCatKey = 'NZBPO_SBCATEGORY'
|
||||||
envKeys = ['ENABLED', 'HOST', 'PORT', 'USERNAME', 'PASSWORD', 'SSL', 'WEB_ROOT', 'WATCH_DIR', 'FORK',
|
envKeys = ['ENABLED', 'HOST', 'PORT', 'APIKEY', 'USERNAME', 'PASSWORD', 'SSL', 'WEB_ROOT', 'WATCH_DIR', 'FORK',
|
||||||
'DELETE_FAILED', 'TORRENT_NOLINK', 'NZBEXTRACTIONBY', 'REMOTE_PATH', 'PROCESS_METHOD']
|
'DELETE_FAILED', 'TORRENT_NOLINK', 'NZBEXTRACTIONBY', 'REMOTE_PATH', 'PROCESS_METHOD']
|
||||||
cfgKeys = ['enabled', 'host', 'port', 'username', 'password', 'ssl', 'web_root', 'watch_dir', 'fork',
|
cfgKeys = ['enabled', 'host', 'port', 'apikey', 'username', 'password', 'ssl', 'web_root', 'watch_dir', 'fork',
|
||||||
'delete_failed', 'Torrent_NoLink', 'nzbExtractionBy', 'remote_path', 'process_method']
|
'delete_failed', 'Torrent_NoLink', 'nzbExtractionBy', 'remote_path', 'process_method']
|
||||||
if envCatKey in os.environ:
|
if envCatKey in os.environ:
|
||||||
for index in range(len(envKeys)):
|
for index in range(len(envKeys)):
|
||||||
|
|
|
@ -156,6 +156,9 @@
|
||||||
# SickBeard port.
|
# SickBeard port.
|
||||||
#sbport=8081
|
#sbport=8081
|
||||||
|
|
||||||
|
# SickBeard api key. For SickChill, Medusa, SiCKRAGE only.
|
||||||
|
#sbapikey=
|
||||||
|
|
||||||
# SickBeard username.
|
# SickBeard username.
|
||||||
#sbusername=
|
#sbusername=
|
||||||
|
|
||||||
|
|
|
@ -50,6 +50,9 @@
|
||||||
# SickBeard port.
|
# SickBeard port.
|
||||||
#sbport=8081
|
#sbport=8081
|
||||||
|
|
||||||
|
# SickBeard api key. For SickChill, Medusa, SiCKRAGE only.
|
||||||
|
#sbapikey=
|
||||||
|
|
||||||
# SickBeard username.
|
# SickBeard username.
|
||||||
#sbusername=
|
#sbusername=
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue