返回顶部
m

media-cli-local

Single-file bash CLI for the *arr media stack. Manage Sonarr, Radarr, Prowlarr, qBittorrent, Bazarr, Jellyseerr, and Tdarr from the terminal or via AI agents. Runs on the same machine as your services. No Docker, no Node, no Python packages.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
80
下载量
0
收藏
概述
安装方式
版本历史

media-cli-local

# media-cli-local — Terminal Control for Your *arr Media Stack One bash script to manage your entire media automation stack. Search, add, download, and monitor movies and TV shows without touching a web UI. Designed for setups where the agent and media services run on the **same machine**. If your *arr stack runs on a different host, see [media-cli](https://clawhub.com/solomonneas/media-cli) which includes SSH remote support. **Source:** https://github.com/solomonneas/media-cli **Install:** Clone the repo and copy the script to your PATH. Review it first. ```bash git clone https://github.com/solomonneas/media-cli.git cd media-cli cp media ~/bin/media && chmod +x ~/bin/media media setup ``` ## Supported Services | Service | Required | What It Does | |---------|----------|-------------| | Sonarr | Yes | TV show management | | Radarr | Yes | Movie management | | Prowlarr | Yes | Indexer management | | qBittorrent | Yes | Download monitoring | | Bazarr | Optional | Subtitles | | Jellyseerr | Optional | User requests + trending | | Tdarr | Optional | Transcode monitoring | ## Setup The setup wizard asks for API URLs and keys, saves to `~/.config/media-cli/config` (chmod 600). All connections are localhost only. ```bash media setup # Interactive config wizard media status # Verify everything connects ``` ## Commands ### Movies ```bash media movies search "Interstellar" # Search online media movies add "Interstellar" # Add + start downloading media movies list # Library with download status media movies missing # Monitored without files media movies remove "title" # Remove (keeps files) ``` ### TV Shows ```bash media shows search "Breaking Bad" # Search online media shows add "Breaking Bad" # Add + search episodes media shows list # Library with episode counts ``` ### Downloads ```bash media downloads # All torrents by state media downloads active # Active with speed + ETA media downloads pause <hash|all> media downloads resume <hash|all> media downloads remove <hash> [true] # true = delete files too ``` ### Status & Monitoring ```bash media status # Health + library counts + active downloads media queue # Sonarr/Radarr download queues media wanted # Missing episodes + movies media calendar 14 # Upcoming releases (next N days) media history # Recent activity media refresh # Trigger library rescan media indexers # Prowlarr indexer status ``` ### Subtitles (Bazarr) ```bash media subs # Wanted subtitles media subs history # Recent subtitle downloads ``` ### Requests (Jellyseerr) ```bash media requests # Pending user requests media requests trending # What's trending media requests users # User list with request counts ``` ### Transcoding (Tdarr) ```bash media tdarr # Status + active workers media tdarr workers # Per-file progress: %, fps, ETA media tdarr queue # Items queued for processing ``` ## AI Agent Integration Commands output clean, parseable text designed for AI agents: ``` "What shows am I missing episodes for?" → media wanted "Add Succession" → media shows add "Succession" "What's downloading right now?" → media downloads active "Pause all downloads" → media downloads pause all ``` Works with OpenClaw, LangChain, Claude computer use, or any agent framework with shell execution. ## Requirements - bash 4.0+ - curl - python3 (standard library only, no pip) ## Technical Details - Single bash script (~900 lines) - All API calls go to localhost (no remote connections) - Talks to *arr v3 APIs (Sonarr/Radarr), v1 (Prowlarr), v2 (qBittorrent WebUI) - Python3 used strictly for JSON parsing (standard library) - No telemetry, no analytics, no network calls except to your own services - Config stored at `~/.config/media-cli/config` with chmod 600

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 media-cli-local-1776110823 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 media-cli-local-1776110823 技能

通过命令行安装

skillhub install media-cli-local-1776110823

下载 Zip 包

⬇ 下载 media-cli-local v1.0.0

文件大小: 2.48 KB | 发布时间: 2026-4-14 14:34

v1.0.0 最新 2026-4-14 14:34
Initial release of media-cli-local — a single-file Bash CLI for managing the *arr media stack locally:

- Manage Sonarr, Radarr, Prowlarr, qBittorrent, Bazarr, Jellyseerr, and Tdarr from the terminal.
- Local-only: All API calls to services on the same machine (no Docker, Node, or Python packages needed).
- Quick setup via interactive wizard; config saved with secure permissions.
- Clean, parseable output for seamless AI agent integration.
- Bash and curl based, with standard Python3 used only for JSON parsing.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部