Files
TorrentOps/README.md
T
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

98 lines
1.6 KiB
Markdown

# TorrentOps
Telegram-controlled qBittorrent RSS rule manager.
## Commands
```text
/help
/add "name" "query" ["exclude"] season [root] feeds
/confirm
/cancel
/feeds [filter]
/rules
/current
/search <text>
/prune [days]
/prune_confirm
/prune_cancel
/status
```
## Example
```text
/add "Pioneer One" "Pioneer One 720p" 1 shows 5
```
Optional exclusions are appended to the default `batch` must-not-contain rule:
```text
/add "Blender Open Movies" "Blender Studio 1080p" "CAM 480p" 1 shows 7
```
Smart quotes from iOS/macOS are normalized automatically, so this also parses correctly:
```text
/add “Blender Open Movies” “Blender Studio 1080p” 1 shows 7
```
Multiple feeds:
```text
/add "Public Domain Features" "Internet Archive" 1 shows_l 5,1
```
`/add` only previews. Use `/confirm` to apply.
## v1.1 Feed Path Behavior
If `FEEDS_PATH` is not set in `.env`, TorrentOps automatically reads:
```text
<folder containing DOWNLOAD_RULES_PATH>\feeds.json
```
So if your rules path is:
```text
C:\Users\YOU\AppData\Roaming\qBittorrent\rss\download_rules.json
```
TorrentOps will read feeds from:
```text
C:\Users\YOU\AppData\Roaming\qBittorrent\rss\feeds.json
```
## Pruning old RSS rules
Preview rules whose `lastMatch` is older than the configured threshold:
```text
/prune
```
Override the threshold for one preview:
```text
/prune 45
```
Then apply:
```text
/prune_confirm
```
Cancel:
```text
/prune_cancel
```
TorrentOps backs up `download_rules.json` before writing changes when `BACKUP_RULES_JSON=true`.
Rules with blank or unparsable `lastMatch` are skipped for safety.