The README, setup guide, and bot help text used commercial show names as examples. Swap them for Creative Commons and open-movie titles and rename the example roots from anime to shows. Text only; no logic changes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
1.4 KiB
1.4 KiB
TorrentOps Setup Guide
Enable qBittorrent Web UI
In qBittorrent:
Tools → Options → Web UI → Enable Web User Interface
Set your username/password, then place them in .env.
Setup
python -m venv venv
.\venv\Scripts\activate
pip install -r requirements.txt
copy .env.example .env
python main.py
Add a rule
/add "Pioneer One" "Pioneer One 720p" 1 shows 5
/confirm
Add a rule with extra must-not-contain terms. These are appended after the hard-coded batch exclusion:
/add "Blender Open Movies" "Blender Studio 1080p" "CAM 480p" 1 shows 7
/confirm
Smart quotes from iOS/macOS are normalized automatically.
Feed file behavior
You do not need to maintain a second feeds.json inside the TorrentOps folder.
If FEEDS_PATH is omitted, TorrentOps automatically uses feeds.json from the same qBittorrent RSS folder as download_rules.json.
Example:
DOWNLOAD_RULES_PATH=C:\Users\Brian\AppData\Roaming\qBittorrent\rss\download_rules.json
# FEEDS_PATH can be omitted
Prune old rules
Set the default threshold:
PRUNE_DAYS_AFTER=30
Preview rules older than the threshold:
/prune
Preview a custom threshold:
/prune 45
Apply the removal:
/prune_confirm
Cancel:
/prune_cancel
TorrentOps backs up download_rules.json before removal if BACKUP_RULES_JSON=true.