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.
|
# 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
|
# FEEDS_PATH=C:\Users\<YOUR_WINDOWS_USERNAME>\AppData\Roaming\qBittorrent\rss\feeds.json
|
||||||
|
|
||||||
DOWNLOAD_ROOT_DEFAULT=anime
|
DOWNLOAD_ROOT_DEFAULT=shows
|
||||||
DOWNLOAD_ROOTS=anime=O:/Media/Anime,anime_l=L:/Anime
|
DOWNLOAD_ROOTS=shows=O:/Media/Shows,shows_l=L:/Shows
|
||||||
|
|
||||||
CREATE_SAVE_PATH=true
|
CREATE_SAVE_PATH=true
|
||||||
BACKUP_RULES_JSON=true
|
BACKUP_RULES_JSON=true
|
||||||
@@ -30,4 +30,4 @@ PLEX_TOKEN=
|
|||||||
# Optional friendly aliases for /plexscan.
|
# Optional friendly aliases for /plexscan.
|
||||||
# Get section IDs with /plexlibs after setting your Plex token.
|
# Get section IDs with /plexlibs after setting your Plex token.
|
||||||
# Format: alias=section_id,alias2=section_id
|
# 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
|
## Example
|
||||||
|
|
||||||
```text
|
```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:
|
Optional exclusions are appended to the default `batch` must-not-contain rule:
|
||||||
|
|
||||||
```text
|
```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:
|
Smart quotes from iOS/macOS are normalized automatically, so this also parses correctly:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
/add “Ghost in the Shell” “Koukaku 265” 1 anime 7
|
/add “Blender Open Movies” “Blender Studio 1080p” 1 shows 7
|
||||||
```
|
```
|
||||||
|
|
||||||
Multiple feeds:
|
Multiple feeds:
|
||||||
|
|
||||||
```text
|
```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.
|
`/add` only previews. Use `/confirm` to apply.
|
||||||
|
|||||||
+2
-2
@@ -21,14 +21,14 @@ python main.py
|
|||||||
## Add a rule
|
## Add a rule
|
||||||
|
|
||||||
```text
|
```text
|
||||||
/add "Frieren" "Sousou no Frieren" 2 anime 5
|
/add "Pioneer One" "Pioneer One 720p" 1 shows 5
|
||||||
/confirm
|
/confirm
|
||||||
```
|
```
|
||||||
|
|
||||||
Add a rule with extra must-not-contain terms. These are appended after the hard-coded `batch` exclusion:
|
Add a rule with extra must-not-contain terms. These are appended after the hard-coded `batch` exclusion:
|
||||||
|
|
||||||
```text
|
```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
|
/confirm
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -200,8 +200,8 @@ def parse_add_args(raw: str):
|
|||||||
if len(parts) < 4:
|
if len(parts) < 4:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
'Use: /add "name" "query" ["exclude"] season [root] feeds\n'
|
'Use: /add "name" "query" ["exclude"] season [root] feeds\n'
|
||||||
'Example: /add "Frieren" "Sousou no Frieren" 2 anime 5\n'
|
'Example: /add "Pioneer One" "Pioneer One 720p" 1 shows 5\n'
|
||||||
'With exclusions: /add "Ghost in the Shell" "Koukaku 265" "Dual Audio HEVC" 1 anime 7'
|
'With exclusions: /add "Blender Open Movies" "Blender Studio 1080p" "CAM 480p" 1 shows 7'
|
||||||
)
|
)
|
||||||
|
|
||||||
name = parts[0].strip()
|
name = parts[0].strip()
|
||||||
@@ -214,8 +214,8 @@ def parse_add_args(raw: str):
|
|||||||
if len(parts) < 5:
|
if len(parts) < 5:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
'Use: /add "name" "query" ["exclude"] season [root] feeds\n'
|
'Use: /add "name" "query" ["exclude"] season [root] feeds\n'
|
||||||
'Example: /add "Frieren" "Sousou no Frieren" 2 anime 5\n'
|
'Example: /add "Pioneer One" "Pioneer One 720p" 1 shows 5\n'
|
||||||
'With exclusions: /add "Ghost in the Shell" "Koukaku 265" "Dual Audio HEVC" 1 anime 7'
|
'With exclusions: /add "Blender Open Movies" "Blender Studio 1080p" "CAM 480p" 1 shows 7'
|
||||||
)
|
)
|
||||||
exclude = parts[2].strip()
|
exclude = parts[2].strip()
|
||||||
season_index = 3
|
season_index = 3
|
||||||
@@ -235,8 +235,8 @@ def parse_add_args(raw: str):
|
|||||||
else:
|
else:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
'Use: /add "name" "query" ["exclude"] season [root] feeds\n'
|
'Use: /add "name" "query" ["exclude"] season [root] feeds\n'
|
||||||
'Example: /add "Frieren" "Sousou no Frieren" 2 anime 5\n'
|
'Example: /add "Pioneer One" "Pioneer One 720p" 1 shows 5\n'
|
||||||
'With exclusions: /add "Ghost in the Shell" "Koukaku 265" "Dual Audio HEVC" 1 anime 7'
|
'With exclusions: /add "Blender Open Movies" "Blender Studio 1080p" "CAM 480p" 1 shows 7'
|
||||||
)
|
)
|
||||||
|
|
||||||
return name, query, exclude, season, root_key, feeds
|
return name, query, exclude, season, root_key, feeds
|
||||||
@@ -706,8 +706,8 @@ def help_text():
|
|||||||
return (
|
return (
|
||||||
"🌊 <b>TorrentOps</b>\n\n"
|
"🌊 <b>TorrentOps</b>\n\n"
|
||||||
'<b>/add "name" "query" ["exclude"] season [root] feeds</b>\n'
|
'<b>/add "name" "query" ["exclude"] season [root] feeds</b>\n'
|
||||||
'Example: <code>/add "Frieren" "Sousou no Frieren" 2 anime 5</code>\n'
|
'Example: <code>/add "Pioneer One" "Pioneer One 720p" 1 shows 5</code>\n'
|
||||||
'With exclusions: <code>/add "Ghost in the Shell" "Koukaku 265" "Dual Audio HEVC" 1 anime 7</code>\n\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>/confirm</b> - apply pending preview\n"
|
||||||
"<b>/cancel</b> - discard pending preview\n"
|
"<b>/cancel</b> - discard pending preview\n"
|
||||||
"<b>/feeds [filter]</b> - list feeds\n"
|
"<b>/feeds [filter]</b> - list feeds\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user