Nas Movie Download
by @roger0808
Search and download movies via Jackett and qBittorrent. Use when user wants to download movies or videos from torrent sources, search for specific movie titl...
Search Movies
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 Only
Download movie without subtitles:
scripts/download-movie.sh -q "The Matrix"
Download with Automatic Subtitles via SMB 🆕
完整流程:搜索 → 下载 → 自动下载字幕 → 上传到 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)SMB Subtitle Download (Standalone)
为 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
Environment Variables
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 Setup
SMB 配置已保存到 config/smb.env:
cat config/smb.env
Indexer Setup
The skill works with Jackett indexers. Currently configured indexers:
Ensure these indexers are enabled and configured in your Jackett installation for best results.
SMB Connection Failed
1. Verify SMB credentials in config/smb.env
2. Check NAS IP address: ping 192.168.1.246
3. Ensure SMB service is running on NAS
4. Verify network connectivity
Subtitle Download Issues
1. No subtitles found: Try different language codes or the video may not have subtitles available
2. subliminal not installed: pip3 install subliminal
3. SMB upload failed: Check folder permissions on NAS
Permission Issues
Ensure scripts have execute permissions:
chmod +x scripts/*.sh
chmod +x scripts/*.py
clawhub install nas-movie-download