Files
Brian HandClaude Fable 5.2 781cca39aa Replace example titles with freely licensed ones
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>
2026-11-12 12:31:55 -08:00

85 lines
1.4 KiB
Markdown

# 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
```powershell
python -m venv venv
.\venv\Scripts\activate
pip install -r requirements.txt
copy .env.example .env
python main.py
```
## Add a rule
```text
/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:
```text
/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:
```env
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:
```env
PRUNE_DAYS_AFTER=30
```
Preview rules older than the threshold:
```text
/prune
```
Preview a custom threshold:
```text
/prune 45
```
Apply the removal:
```text
/prune_confirm
```
Cancel:
```text
/prune_cancel
```
TorrentOps backs up `download_rules.json` before removal if `BACKUP_RULES_JSON=true`.