this post was submitted on 03 Nov 2023
63 points (98.5% liked)
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
54539 readers
186 users here now
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.
Rules • Full Version
1. Posts must be related to the discussion of digital piracy
2. Don't request invites, trade, sell, or self-promote
3. Don't request or link to specific pirated titles, including DMs
4. Don't submit low-quality posts, be entitled, or harass others
Loot, Pillage, & Plunder
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Are there any easy ways to auto purge stalled torrents (either after a certain amount of time, or if they’ve never seen a complete copy after some time?) I have most of the *arr suite and use qbittorrent. I recently installed qbit_manage, but I’m not sure how to use it yet.
You can write a python script to interact with Qbittorrent as it has an API. I wrote one to delete stalled torrents and another one to set them to the lowest priority (so they don't fill up the download queue). If anyone is interested im happy to share the code. Whichever one I chose just runs every 30 mins or so using windows task scheduler
I’d love to get a copy if you’d be willing to share it.
Sure, youll need to change the info at the top of the scripts for your qBitTorrent client:
Remove stalled torrents https://pastebin.com/embed_js/aTjh8LYm
Move Stalled torrents to low priority https://pastebin.com/embed_js/LxrXd07N