openscopeproject / TrguiNG

Remote GUI for Transmission torrent daemon
GNU Affero General Public License v3.0
334 stars 39 forks source link

What means Ratio and U/D? Is there any difference? #136

Closed Dukobpa3 closed 9 months ago

Dukobpa3 commented 9 months ago

I thought it is same numbers but noticed that some torrents shows different values in this two fields. (In my case this 4 from list of about couple hundreds)

Can someone explain what the difference?

Screenshot 2024-01-05 at 17 30 27
qu1ck commented 9 months ago

U/D field is calculated by TrguiNG as a simple fraction of upload/download. Ratio field is sent from transmission server, it calculates it differently, see https://github.com/openscopeproject/TrguiNG/discussions/83 and links within.

Dukobpa3 commented 9 months ago

Here is two cases when ratio shows much more right info than U/D

Something what uploading during downloading^ so server says percentage based on full size, U/D – just comparing amount of bytes.

I'm not sure what better in this case. Maybe more related to private trackers strategy, but I thunk even there it will be different numbers.

Screenshot 2024-01-05 at 21 50 45

This one shows infinity, like nothing downloaded. But this one was redownloaded from old torrent file to the same folder and file. This concrete case is the same as server-side ratio because there is not anything uploaded for now. But even if I start uploading – there will be infinity.

Screenshot 2024-01-05 at 21 51 37

I think this both fields can be used for different cases.

qu1ck commented 9 months ago

Exactly, that's why there are 2 fields.