Initial commit: TorrentOps Telegram-controlled qBittorrent RSS rule manager
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,97 @@
|
||||
# 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 "Frieren" "Sousou no Frieren" 2 anime 5
|
||||
```
|
||||
|
||||
Optional exclusions are appended to the default `batch` must-not-contain rule:
|
||||
|
||||
```text
|
||||
/add "Ghost in the Shell" "Koukaku 265" "Dual Audio HEVC" 1 anime 7
|
||||
```
|
||||
|
||||
Smart quotes from iOS/macOS are normalized automatically, so this also parses correctly:
|
||||
|
||||
```text
|
||||
/add “Ghost in the Shell” “Koukaku 265” 1 anime 7
|
||||
```
|
||||
|
||||
Multiple feeds:
|
||||
|
||||
```text
|
||||
/add "Fire Force" "Enen no Shouboutai" 3 anime_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.
|
||||
Reference in New Issue
Block a user