Skip to content

Comments

Add filtering by ratio, using min_ratio and max_ratio#203

Open
zmiguel wants to merge 2 commits intojerrymakesjelly:masterfrom
zmiguel:master
Open

Add filtering by ratio, using min_ratio and max_ratio#203
zmiguel wants to merge 2 commits intojerrymakesjelly:masterfrom
zmiguel:master

Conversation

@zmiguel
Copy link

@zmiguel zmiguel commented May 11, 2025

This allows ratio to be a filter instead of only a remove condition.
I wanted to use ratio as a filter, so I can filter out torrents that are below a certain ratio when running the free_space remove condition. You wouldn't want to remove a torrent with < 1.0 ratio and get a HnR warning right?

New Feature: Ratio-Based Filtering

Use min_ratio and max_ratio to filter for your desired ratio interval.

Documentation Updates

  • Updated docs/config.rst to document the new min_ratio and max_ratio filters, including examples of how to configure and use them in strategies.
  • Clarified the interaction of ratio filters with other filters in the documentation.

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.

1 participant