Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Seedbox-Statistics-For-InfluxDB
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
Seedbox-Statistics-For-InfluxDB
Commits
cdcb6596
Commit
cdcb6596
authored
8 years ago
by
Matt
Browse files
Options
Downloads
Patches
Plain Diff
Documentation update
parent
f7a7f161
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+21
-1
21 additions, 1 deletion
README.md
clients/rtorrent.py
+1
-0
1 addition, 0 deletions
clients/rtorrent.py
with
22 additions
and
1 deletion
README.md
+
21
−
1
View file @
cdcb6596
...
@@ -40,7 +40,7 @@ This tool will allow you to send stats from a torrent client to InfluxDB for dis
...
@@ -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
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
...
@@ -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.
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***
***Requirements***
Python 3+
Python 3+
...
...
This diff is collapsed.
Click to expand it.
clients/rtorrent.py
+
1
−
0
View file @
cdcb6596
...
@@ -55,4 +55,5 @@ class rTorrentClient(TorrentClient):
...
@@ -55,4 +55,5 @@ class rTorrentClient(TorrentClient):
Return list of all torrents
Return list of all torrents
:return:
: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
)
self
.
_build_torrent_list
(
self
.
rtorrent
.
torrents
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment