digitie / transmission-remote-dotnet

Automatically exported from code.google.com/p/transmission-remote-dotnet
GNU General Public License v3.0
1 stars 0 forks source link

Ratio reported incorrectly #231

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open Transmission's web UI
2. Open Transmission Remote
3. Compare ratio for the same torrent

What is the expected output? What do you see instead?
TR gives a different number. Sometimes it's higher, sometimes lower. I was
able to spot this because some torrents were apparently stopped after
exceeding the ratio limit, which was not the case.

What version of the products are you using?
OS: Remote: Windows XP SP3 / Transmission: Debian Squeeze AMD64
Transmission: 1.83-2 and 1.91-1
Remote: 3.20

Original issue reported on code.google.com by furex.fu...@gmail.com on 7 Mar 2010 at 8:59

GoogleCodeExporter commented 8 years ago
Use the logrpc version from TRD. You can view what T send to you in rpc calls.

Original comment by elso.and...@gmail.com on 7 Mar 2010 at 9:59

GoogleCodeExporter commented 8 years ago
I don't know how to do that. However, I doubled checked using the other Windows 
GUI
and it's displaying the ratios correctly, so I would suppose this is NOT
transmission's fault?

Original comment by furex.fu...@gmail.com on 7 Mar 2010 at 10:10

GoogleCodeExporter commented 8 years ago
hmm, can you attach a screenshot?

Original comment by elso.and...@gmail.com on 7 Mar 2010 at 10:42

GoogleCodeExporter commented 8 years ago
I think I figured out the problem. Is TRD calculating its own ratio using 
uploaded
bytes/torrent size?

That gives me exactly the number TRD gets. It seems like Transmission is 
calculating
ratio as uploaded bytes/downloaded bytes instead.

Original comment by furex.fu...@gmail.com on 8 Mar 2010 at 1:19

GoogleCodeExporter commented 8 years ago
We calc the ratio: 
ratio = Uploaded / (HaveValid + HaveUnchecked)
But the T calc: 
  downloadedForRatio = downloadedEver ? downloadedEver : haveValid;
ratio = uploadedEver / downloadedForRatio

Original comment by elso.and...@gmail.com on 8 Mar 2010 at 10:44

GoogleCodeExporter commented 8 years ago
Change in r549.

Original comment by elso.and...@gmail.com on 8 Mar 2010 at 6:29

GoogleCodeExporter commented 8 years ago

Original comment by elso.and...@gmail.com on 14 Jun 2010 at 1:17