Page 1 of 1

[Plugin] Ratio

Posted: Sun Feb 25, 2018 6:12 am
by holocronweaver
Use your status bar to track your total uploads, downloads, and share ratio across all torrents.

Currently two items are available in preferences: 1) toggle to save upload/download totals across Deluge sessions (default on, otherwise you would start from zero each session), 2) a button to reset your totals.

Nothing fancy. Just remember: sharing is caring! :D

Egg Releases: https://github.com/holocronweaver/deluge-ratio/releases
Source and README: https://github.com/holocronweaver/deluge-ratio/

Tested on Linux and Windows using Deluge 1.3.15, but should work on MacOS as well.

Does not currently work with web UI, but if anyone wants to add such functionality I'll happily accept a PR. Currently using the stock GTK plus symbol for the status bar icon, but looking for a better icon to replace it.

p.s. - I realize there are plugins that do parts of this already, but I couldn't find one that worked exactly the way I wanted: optionally track total down/up across sessions and show the ratio and totals in the status bar. I'm surprised this seemingly isn't built into Deluge. It's an important feature of modern torrent clients as it encourages sharing ALL your downloads by gamifying with an overall score. Maybe in 2.0?

Re: [Plugin] Ratio

Posted: Mon Feb 26, 2018 1:58 pm
by shamael
Not tested yet but thx for sharing your work!

Re: [Plugin] Ratio

Posted: Wed Mar 21, 2018 5:49 pm
by macie73
thanks, this looks like what i needed, but i think something is wrong with the tooltip. It reads "Ratio = Total Downloads / Total Uploads".
Shouldn't that the other way round? like "Ratio = Total Uploads / Total Downloads"? or even better "Ratio = Total Uploaded / Total Downloaded"?
the numbers themselves are correct, it's just the text when you hover over the toolbar. :)
thx!

Re: [Plugin] Ratio

Posted: Fri Jul 31, 2020 12:08 am
by Aleron Ives
I made an updated egg to fix the tooltip and ratio calculation. All I did was replicate the two commits listed in this PR:

https://github.com/holocronweaver/delug ... /2/commits

I don't know why holo never uploaded a new egg after committing the changes, but this egg should do the trick.