From cdcb65964d717e9eaeaa8f5f4d53844287289a95 Mon Sep 17 00:00:00 2001
From: Matt <matt@mattcarey.me>
Date: Sat, 21 Jan 2017 17:32:15 -0500
Subject: [PATCH] Documentation update

---
 README.md           | 22 +++++++++++++++++++++-
 clients/rtorrent.py |  1 +
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index dfbcc0a..4043637 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 b199e9f..37378d1 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)
-- 
GitLab