mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 05:13:16 -07:00
Qbittorrent patch 1 (#1711)
qBittorrenHost to qBittorrentHost (#1710) Co-authored-by: boredazfcuk <boredazfcuk@hotmail.co.uk>
This commit is contained in:
parent
11f1c2ce3f
commit
2a96311d6f
3 changed files with 5 additions and 2 deletions
|
@ -382,7 +382,7 @@
|
||||||
DelugeUSR = your username
|
DelugeUSR = your username
|
||||||
DelugePWD = your password
|
DelugePWD = your password
|
||||||
###### qBittorrent (You must edit this if you're using TorrentToMedia.py with qBittorrent)
|
###### qBittorrent (You must edit this if you're using TorrentToMedia.py with qBittorrent)
|
||||||
qBittorrenHost = localhost
|
qBittorrentHost = localhost
|
||||||
qBittorrentPort = 8080
|
qBittorrentPort = 8080
|
||||||
qBittorrentUSR = your username
|
qBittorrentUSR = your username
|
||||||
qBittorrentPWD = your password
|
qBittorrentPWD = your password
|
||||||
|
|
|
@ -191,6 +191,9 @@ class ConfigObj(configobj.ConfigObj, Section):
|
||||||
if option == 'forceClean':
|
if option == 'forceClean':
|
||||||
CFG_NEW['General']['force_clean'] = value
|
CFG_NEW['General']['force_clean'] = value
|
||||||
values.pop(option)
|
values.pop(option)
|
||||||
|
if option == 'qBittorrenHost': #We had a typo that is now fixed.
|
||||||
|
CFG_NEW['Torrent']['qBittorrentHost'] = value
|
||||||
|
values.pop(option)
|
||||||
if section in ['Transcoder']:
|
if section in ['Transcoder']:
|
||||||
if option in ['niceness']:
|
if option in ['niceness']:
|
||||||
CFG_NEW['Posix'][option] = value
|
CFG_NEW['Posix'][option] = value
|
||||||
|
|
|
@ -85,7 +85,7 @@ def configure_deluge(config):
|
||||||
|
|
||||||
|
|
||||||
def configure_qbittorrent(config):
|
def configure_qbittorrent(config):
|
||||||
core.QBITTORRENT_HOST = config['qBittorrenHost'] # localhost
|
core.QBITTORRENT_HOST = config['qBittorrentHost'] # localhost
|
||||||
core.QBITTORRENT_PORT = int(config['qBittorrentPort']) # 8080
|
core.QBITTORRENT_PORT = int(config['qBittorrentPort']) # 8080
|
||||||
core.QBITTORRENT_USER = config['qBittorrentUSR'] # mysecretusr
|
core.QBITTORRENT_USER = config['qBittorrentUSR'] # mysecretusr
|
||||||
core.QBITTORRENT_PASSWORD = config['qBittorrentPWD'] # mysecretpwr
|
core.QBITTORRENT_PASSWORD = config['qBittorrentPWD'] # mysecretpwr
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue