Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ratio improvements & fixes #2266

Merged
merged 3 commits into from
Jan 17, 2022
Merged

Ratio improvements & fixes #2266

merged 3 commits into from
Jan 17, 2022

Conversation

stickz
Copy link
Collaborator

@stickz stickz commented Jan 16, 2022

This pull request improves the ratio group tab (for the ratio plugin) in the ruTorrent settings menu.

The following changes are made by this pull request:

  1. The UL value is now measured in gigabytes instead of megabytes.

  2. The default UL value is increased from 20MB to 100MB.

  3. The min UL value is increased from 1MB to 10MB.

  4. The max UL value is increased from 1TB to 1PB.

  5. The UL value now accepts 2 decimal places.

  6. A regression from Refactor code & implement autoloader #2247 is fixed when setting the ratio group UL Targets. The Math class was not referenced properly

  7. A new translated legend is added beside the default ratio group selector. This explains to the user how the UL value works. It also makes it easier for the user to do terabyte and megabyte conversations, without having to look up the values.

Here is a screenshot of how the ratio group tab looks now:
ratio_group

What is the motivation behind these changes?
I wanted to set a 3 terabyte UL value for my torrent. I was not able to do that. 999999 megabytes which equals 1 terabyte was the max value. Also, it was difficult to set gigabyte UL values because the measurement unit was megabytes. Bandwidth has increased significantly since ruTorrent was first released. Setting megabyte UL values is no longer applicable for many people.

plugins/ratio/ratio.php Outdated Show resolved Hide resolved
plugins/ratio/ratio.php Outdated Show resolved Hide resolved
@Novik Novik merged commit 34ddd29 into Novik:master Jan 17, 2022
@stickz stickz deleted the UploadRatio branch January 17, 2022 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants