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>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
0871dbb48f
commit
781cca39aa
+3
-3
@@ -10,8 +10,8 @@ DOWNLOAD_TEMPLATE_PATH=download_template.json
|
||||
# Optional. If omitted, TorrentOps reads feeds.json from the same folder as DOWNLOAD_RULES_PATH.
|
||||
# FEEDS_PATH=C:\Users\<YOUR_WINDOWS_USERNAME>\AppData\Roaming\qBittorrent\rss\feeds.json
|
||||
|
||||
DOWNLOAD_ROOT_DEFAULT=anime
|
||||
DOWNLOAD_ROOTS=anime=O:/Media/Anime,anime_l=L:/Anime
|
||||
DOWNLOAD_ROOT_DEFAULT=shows
|
||||
DOWNLOAD_ROOTS=shows=O:/Media/Shows,shows_l=L:/Shows
|
||||
|
||||
CREATE_SAVE_PATH=true
|
||||
BACKUP_RULES_JSON=true
|
||||
@@ -30,4 +30,4 @@ PLEX_TOKEN=
|
||||
# Optional friendly aliases for /plexscan.
|
||||
# Get section IDs with /plexlibs after setting your Plex token.
|
||||
# Format: alias=section_id,alias2=section_id
|
||||
PLEX_SECTIONS=anime=1,movies=2,tv=3
|
||||
PLEX_SECTIONS=shows=1,movies=2,tv=3
|
||||
@@ -22,25 +22,25 @@ Telegram-controlled qBittorrent RSS rule manager.
|
||||
## Example
|
||||
|
||||
```text
|
||||
/add "Frieren" "Sousou no Frieren" 2 anime 5
|
||||
/add "Pioneer One" "Pioneer One 720p" 1 shows 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
|
||||
/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 “Ghost in the Shell” “Koukaku 265” 1 anime 7
|
||||
/add “Blender Open Movies” “Blender Studio 1080p” 1 shows 7
|
||||
```
|
||||
|
||||
Multiple feeds:
|
||||
|
||||
```text
|
||||
/add "Fire Force" "Enen no Shouboutai" 3 anime_l 5,1
|
||||
/add "Public Domain Features" "Internet Archive" 1 shows_l 5,1
|
||||
```
|
||||
|
||||
`/add` only previews. Use `/confirm` to apply.
|
||||
|
||||
+2
-2
@@ -21,14 +21,14 @@ python main.py
|
||||
## Add a rule
|
||||
|
||||
```text
|
||||
/add "Frieren" "Sousou no Frieren" 2 anime 5
|
||||
/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 "Ghost in the Shell" "Koukaku 265" "Dual Audio HEVC" 1 anime 7
|
||||
/add "Blender Open Movies" "Blender Studio 1080p" "CAM 480p" 1 shows 7
|
||||
/confirm
|
||||
```
|
||||
|
||||
|
||||
@@ -200,8 +200,8 @@ def parse_add_args(raw: str):
|
||||
if len(parts) < 4:
|
||||
raise ValueError(
|
||||
'Use: /add "name" "query" ["exclude"] season [root] feeds\n'
|
||||
'Example: /add "Frieren" "Sousou no Frieren" 2 anime 5\n'
|
||||
'With exclusions: /add "Ghost in the Shell" "Koukaku 265" "Dual Audio HEVC" 1 anime 7'
|
||||
'Example: /add "Pioneer One" "Pioneer One 720p" 1 shows 5\n'
|
||||
'With exclusions: /add "Blender Open Movies" "Blender Studio 1080p" "CAM 480p" 1 shows 7'
|
||||
)
|
||||
|
||||
name = parts[0].strip()
|
||||
@@ -214,8 +214,8 @@ def parse_add_args(raw: str):
|
||||
if len(parts) < 5:
|
||||
raise ValueError(
|
||||
'Use: /add "name" "query" ["exclude"] season [root] feeds\n'
|
||||
'Example: /add "Frieren" "Sousou no Frieren" 2 anime 5\n'
|
||||
'With exclusions: /add "Ghost in the Shell" "Koukaku 265" "Dual Audio HEVC" 1 anime 7'
|
||||
'Example: /add "Pioneer One" "Pioneer One 720p" 1 shows 5\n'
|
||||
'With exclusions: /add "Blender Open Movies" "Blender Studio 1080p" "CAM 480p" 1 shows 7'
|
||||
)
|
||||
exclude = parts[2].strip()
|
||||
season_index = 3
|
||||
@@ -235,8 +235,8 @@ def parse_add_args(raw: str):
|
||||
else:
|
||||
raise ValueError(
|
||||
'Use: /add "name" "query" ["exclude"] season [root] feeds\n'
|
||||
'Example: /add "Frieren" "Sousou no Frieren" 2 anime 5\n'
|
||||
'With exclusions: /add "Ghost in the Shell" "Koukaku 265" "Dual Audio HEVC" 1 anime 7'
|
||||
'Example: /add "Pioneer One" "Pioneer One 720p" 1 shows 5\n'
|
||||
'With exclusions: /add "Blender Open Movies" "Blender Studio 1080p" "CAM 480p" 1 shows 7'
|
||||
)
|
||||
|
||||
return name, query, exclude, season, root_key, feeds
|
||||
@@ -706,8 +706,8 @@ def help_text():
|
||||
return (
|
||||
"🌊 <b>TorrentOps</b>\n\n"
|
||||
'<b>/add "name" "query" ["exclude"] season [root] feeds</b>\n'
|
||||
'Example: <code>/add "Frieren" "Sousou no Frieren" 2 anime 5</code>\n'
|
||||
'With exclusions: <code>/add "Ghost in the Shell" "Koukaku 265" "Dual Audio HEVC" 1 anime 7</code>\n\n'
|
||||
'Example: <code>/add "Pioneer One" "Pioneer One 720p" 1 shows 5</code>\n'
|
||||
'With exclusions: <code>/add "Blender Open Movies" "Blender Studio 1080p" "CAM 480p" 1 shows 7</code>\n\n'
|
||||
"<b>/confirm</b> - apply pending preview\n"
|
||||
"<b>/cancel</b> - discard pending preview\n"
|
||||
"<b>/feeds [filter]</b> - list feeds\n"
|
||||
|
||||
Reference in New Issue
Block a user