nas-movie-downloadSearch and download movies via Jackett and qBittorrent. Use when user wants to download movies or videos from torrent sources, search for specific movie titl...
Install via ClawdBot CLI:
clawdbot install Roger0808/nas-movie-downloadAutomated movie downloading system using Jackett for torrent search and qBittorrent for download management.
新功能:SMB 自动字幕下载! 🎬 下载完成后自动通过 SMB 为视频下载并上传字幕。
Set these environment variables for the skill to function properly:
Jackett Configuration:
JACKETT_URL: Jackett service URL (default: http://192.168.1.246:9117)JACKETT_API_KEY: Jackett API key (default: o5gp976vq8cm084cqkcv30av9v3e5jpy)qBittorrent Configuration:
QB_URL: qBittorrent Web UI URL (default: http://192.168.1.246:8888)QB_USERNAME: qBittorrent username (default: admin)QB_PASSWORD: qBittorrent password (default: adminadmin)SMB Configuration (for subtitle download):
SMB_USERNAME: SMB username (default: 13917908083)SMB_PASSWORD: SMB password (default: Roger0808)SMB_SERVER: SMB server IP (default: 192.168.1.246)SMB_SHARE: SMB share name (default: super8083)SMB_PATH: SMB download path (default: qb/downloads)Subtitle Configuration:
SUBTITLE_LANGUAGES: Default subtitle languages (default: zh,en)SMB 配置已保存到 config/smb.env:
cat config/smb.env
The skill works with Jackett indexers. Currently configured indexers:
Ensure these indexers are enabled and configured in your Jackett installation for best results.
Search for movies without downloading:
scripts/jackett-search.sh -q "Inception"
scripts/jackett-search.sh -q "The Matrix"
scripts/jackett-search.sh -q "死期将至" # Chinese movie names supported
Download movie without subtitles:
scripts/download-movie.sh -q "The Matrix"
完整流程:搜索 → 下载 → 自动下载字幕 → 上传到 SMB
# 下载电影并自动通过 SMB 下载字幕
scripts/download-movie.sh -q "Young Sheldon" --subtitle
# 指定字幕语言
scripts/download-movie.sh -q "Community" --subtitle --lang zh,en
参数说明:
--subtitle: 启用自动字幕下载(通过 SMB)--lang: 指定字幕语言(默认:zh,en)为 NAS 上已下载的视频通过 SMB 下载字幕:
# 为单个视频下载字幕
python3 scripts/smb-download-subtitle.py -f "movie.mkv"
# 为整个目录下载字幕
python3 scripts/smb-download-subtitle.py -d "qb/downloads/Movie Folder"
# 批量处理所有视频
python3 scripts/smb-download-subtitle.py --all
┌─────────────┐ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ Jackett │───▶│ qBittorrent │───▶│ NAS │───▶│ 字幕下载 │
│ 搜索 │ │ 下载 │ │ 存储视频 │ │ SMB + subliminal│
└─────────────┘ └──────────────┘ └──────────────┘ └──────────────┘
Search Jackett for torrents.
Parameters:
-q, --query: Search query (required)-u, --url: Jackett URL (optional, uses env var)-k, --api-key: API key (optional, uses env var)Add torrent to qBittorrent.
Parameters:
-m, --magnet: Magnet link (required)-u, --url: qBittorrent URL (optional, uses env var)-n, --username: Username (optional, uses env var)-p, --password: Password (optional, uses env var)One-click search, download, and subtitle fetching.
Parameters:
-q, --query: Movie name (required)-s, --subtitle: Enable automatic subtitle download via SMB-l, --lang: Subtitle languages (default: zh,en)--quality: Quality preference (4k, 1080p, 720p, any)Download subtitles for videos on NAS via SMB.
Parameters:
-f, --file: Single video filename (relative to SMB path)-d, --directory: Directory path (relative to SMB path)-l, --lang: Subtitle languages (default: zh,en)--all: Process all videos in SMB download folderExample:
# Single video
python3 scripts/smb-download-subtitle.py -f "Lilo And Stitch 2025.mkv"
# Entire folder
python3 scripts/smb-download-subtitle.py -d "qb/downloads/Movie Folder"
# All videos
python3 scripts/smb-download-subtitle.py --all
Features:
python3 scripts/smb-download-subtitle.py --test--subtitle flag to auto-download subtitles for all episodesconfig/smb.envping 192.168.1.246pip3 install subliminalEnsure scripts have execute permissions:
chmod +x scripts/*.sh
chmod +x scripts/*.py
config/smb.envcurl: For HTTP requestsjq: For JSON parsingpython3 with pysmb: For SMB operationssubliminal: For subtitle downloadInstall dependencies:
apt-get install curl jq python3 python3-pip
pip3 install pysmb subliminal
smb-download-subtitle.py scriptsubtitle-download.sh scriptdownload-movie.sh with -s and -w flagsGenerated Mar 1, 2026
A user sets up a personal NAS to automate movie downloads from torrent sources for their home theater. They use this skill to search for films, queue downloads via qBittorrent, and automatically fetch subtitles via SMB for seamless viewing.
A small media company or library uses the skill to legally source and download public domain or licensed movies for internal training or client presentations. They leverage the SMB integration to organize subtitles for accessibility and compliance.
A streaming service or content aggregator employs the skill to source movies from various torrent indexers, automatically downloading and syncing subtitles in multiple languages via SMB to prepare content for international distribution.
Academic researchers or archivists use the skill to download historical or rare films for study, with automatic subtitle support via SMB to enhance accessibility and documentation for analysis and preservation.
IT professionals integrate this skill into a lab environment to test network configurations, SMB protocols, and automation workflows for downloading and managing media files, ensuring system reliability and performance.
Offer a paid service where users subscribe to access automated movie downloads with subtitle support. Revenue is generated through monthly fees, providing curated content and enhanced features like priority downloads or advanced search filters.
License the skill to businesses such as hotels, airlines, or corporate training centers for in-house media libraries. Revenue comes from one-time licensing fees or annual support contracts, tailored to specific industry needs and compliance.
Provide a free basic version for personal use with limited downloads or subtitle languages, and charge for premium features like batch processing, advanced SMB integrations, or priority customer support. Revenue is driven by upgrades and add-ons.
💬 Integration Tip
Ensure all environment variables are correctly set in the config files and test SMB connectivity with the provided test script before full deployment to avoid common setup issues.
Manage torrents with qBittorrent. Use when the user asks to "list torrents", "add torrent", "pause torrent", "resume torrent", "delete torrent", "check download status", "torrent speed", "qBittorrent stats", or mentions qBittorrent/qbit torrent management.
Search indexers and manage Prowlarr. Use when the user asks to "search for a torrent", "search indexers", "find a release", "check indexer status", "list indexers", "prowlarr search", "sync indexers", or mentions Prowlarr/indexer management.
Interact with Uptime Kuma monitoring server. Use for checking monitor status, adding/removing monitors, pausing/resuming checks, viewing heartbeat history. Triggers on mentions of Uptime Kuma, server monitoring, uptime checks, or service health monitoring.
Backup Clawdbot workspace and config to GitHub with git-crypt encryption. Use for daily automated backups or manual backup/restore operations.
Query and monitor Unraid servers via the GraphQL API. Use when the user asks to 'check Unraid', 'monitor Unraid', 'Unraid API', 'get Unraid status', 'check disk temperatures', 'read Unraid logs', 'list Unraid shares', 'Unraid array status', 'Unraid containers', 'Unraid VMs', or mentions Unraid system monitoring, disk health, parity checks, or server status.
Manage TrueNAS SCALE via API. Check pool health, manage datasets and snapshots, monitor alerts, control services, manage apps, orchestrate Dockge container stacks, and manage bookmarks. Use when the user asks about their NAS, storage, backups, containers, bookmarks, or homelab services.