chromecast
由 morozred 提供
Media & Streaming简介
Control Chromecast devices on your local network - discover.
描述
该技能的功能
Chromecast Control lets an AI agent manage Chromecast and Google Cast devices on a local network via the `catt` command-line tool. It covers device discovery, media casting from URLs or local files, playback control, volume adjustment, and queue management.
Unlike phone-based casting apps, `catt` enables fully scriptable, headless control of Chromecast devices from any machine on the same network.
何时使用
- Cast a YouTube video to the living room TV without touching a phone
- Pause playback across the house when the doorbell rings
- Queue up a playlist on the bedroom Chromecast for a morning routine
- Save and restore a video's position after an interruption
- Check what's currently playing on any Chromecast on the network
示例工作流
User asks: cast this YouTube playlist to the TV, start at episode 3, and set volume to 40
- 1
Run
catt scanto discover available Chromecast devices on the network - 2
Identify the target device and set it as default with
catt -d "Living Room TV" set_default - 3
Cast the playlist URL with
catt cast -t 00:00:00targeting the third item - 4
Set volume with
catt volume 40
Playlist begins playing on the TV at the correct episode with volume set to 40%
前置要求
- catt installed via pip or uv
安装
clawhub install morozred/chromecast-control运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。