GitHub - dessalines/qbit-pause: A library for qBittorrent to pause popular torrents

a month ago by Dessalines to c/rust

A library for qBittorrent to pause popular torrents - dessalines/qbit-pause

From the README:

Pausing popular torrents isn't something that qBittorrent handles well. This library uses 2 criteria to pause / stop torrents.

They are stopped if they are:

  • Popular (IE have a lot of total seeds), and
  • You've given back more than what you've taken (IE a seed ratio > 1)

Requirements

  • Rust
  • A qBittorrent server.
  • An API key generated through the web UI.
  • A crontab where this script can be periodically run.

Usage

This will pause torrents with a ratio >= 2, and more than 10 total seeds.

cargo run -- \
--api-key API_KEY \
--endpoint ENDPOINT \
--ratio 2 \
--total-seeds 10
vas 3 points a month ago

Sounds like a nice thing. Although I think I'll continue doing that manually. I have a habit of evaluating the content that I've got from torrents. I do it in my mind explicitly. And then I share longer proportionally to how good the thing was, and how rare I estimate it is. This is decided once and doesn't change after, with a built-in "share ratio" limit. Once a torrent reaches its ratio and becomes Paused, I know that it's done and can be removed.

In the beginning, all torrents stop as soon as they finished downloading, to let me evaluate the content. (Uninteresting stuff I intentionally don't share back at all.)

path: 0 25881128, hotness: undefined, score: 3, children: 1
dessalines 2 points a month ago

For sure. I've done it manually for years up until now, when I realized they make really easy to use libraries for rust.

I've done the share ratio only filter like you, but I realized that some torrents are heavily leeched, yet stay unpopular. IE my share ratio was > 100, yet I was still the only seeder. So this library makes sure that they're also popular before pausing them.

path: 0 25881128 25881417, hotness: undefined, score: 2, children: 0
rust
rust

@lemmy.ml

login for more options
9402
398
135

go to feed...