diff --git a/autoProcessMedia.cfg.spec b/autoProcessMedia.cfg.spec index b2623e53..a189b1c3 100644 --- a/autoProcessMedia.cfg.spec +++ b/autoProcessMedia.cfg.spec @@ -382,7 +382,7 @@ DelugeUSR = your username DelugePWD = your password ###### qBittorrent (You must edit this if you're using TorrentToMedia.py with qBittorrent) - qBittorrenHost = localhost + qBittorrentHost = localhost qBittorrentPort = 8080 qBittorrentUSR = your username qBittorrentPWD = your password diff --git a/core/configuration.py b/core/configuration.py index 13dc8f72..134c05d5 100644 --- a/core/configuration.py +++ b/core/configuration.py @@ -191,6 +191,9 @@ class ConfigObj(configobj.ConfigObj, Section): if option == 'forceClean': CFG_NEW['General']['force_clean'] = value 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 option in ['niceness']: CFG_NEW['Posix'][option] = value diff --git a/core/plugins/downloaders/torrent/configuration.py b/core/plugins/downloaders/torrent/configuration.py index e89c883f..8acd4b61 100644 --- a/core/plugins/downloaders/torrent/configuration.py +++ b/core/plugins/downloaders/torrent/configuration.py @@ -85,7 +85,7 @@ def configure_deluge(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_USER = config['qBittorrentUSR'] # mysecretusr core.QBITTORRENT_PASSWORD = config['qBittorrentPWD'] # mysecretpwr