this post was submitted on 17 Sep 2026
10 points (100.0% liked)

qBittorrent

162 readers
1 users here now

Everything related to the qBittorrent

https://www.qbittorrent.org/

https://www.qbittorrent.org/donate

founded 3 years ago
MODERATORS
 

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)
  • You've given back more than what you've taken (IE a seed ratio > 1)

This library

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
no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here