diff --git a/.env.example b/.env.example index a5a7f6c..b108460 100644 --- a/.env.example +++ b/.env.example @@ -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\\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 \ No newline at end of file +PLEX_SECTIONS=shows=1,movies=2,tv=3 \ No newline at end of file diff --git a/README.md b/README.md index 9e1de4f..e6476f6 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/docs/SETUP_GUIDE.md b/docs/SETUP_GUIDE.md index 5f69de4..8e6187e 100644 --- a/docs/SETUP_GUIDE.md +++ b/docs/SETUP_GUIDE.md @@ -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 ``` diff --git a/main.py b/main.py index 1189a4f..2135f82 100644 --- a/main.py +++ b/main.py @@ -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 ( "🌊 TorrentOps\n\n" '/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\n\n' + '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\n\n' "/confirm - apply pending preview\n" "/cancel - discard pending preview\n" "/feeds [filter] - list feeds\n"