diff --git a/README.md b/README.md index dfbcc0ad6af3dfb5aeb701e0be02565d717545b3..40436373e98b430d8a3fe641574e2de41e8b1fe8 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ This tool will allow you to send stats from a torrent client to InfluxDB for dis -**Usage** +## Usage Before the first use run pip3 install -r requirements.txt @@ -49,6 +49,26 @@ Enter your desired information in config.ini and run influxdbSeedbox.py Optionally, you can specify the --config argument to load the config file from a different location. +## Notes About Specific Clients + +**Deluge** +* You must have the WebUI plugin installed. +* The URL to use in the config will usually look like: http://ADDRESS:8112/json +* Only the password is required in the config.ini + +**uTorrent** +* You must have the Web Interface enabled with a Username/Password set +* The URL to use in the config will usually look like: http://localhost:8080/gui +* You must have both a username and password in the config + +**rTorrent** +* Neither username or password are needed in the config +* URL can very depending on configuration + +rTorrent is tricky since you need something to forward the SCGI requests. For my testing I used nginx to forward requests on port 8000 +Setting this up is beyond the scope of this tool. +However, you can refer to [this guide](http://elektito.com/2016/02/10/rtorrent-xmlrpc/) + ***Requirements*** Python 3+ diff --git a/clients/rtorrent.py b/clients/rtorrent.py index b199e9f50d2acb8f6fd4ef48430a672644cf89ea..37378d1a3eb4600844b2bec98f406596ef9c9785 100644 --- a/clients/rtorrent.py +++ b/clients/rtorrent.py @@ -55,4 +55,5 @@ class rTorrentClient(TorrentClient): Return list of all torrents :return: """ + self._authenticate() # We need to get another Rtorrent object so we get a fresh list of torrents self._build_torrent_list(self.rtorrent.torrents)