| name | chromecast |
| description | Control Chromecast devices on your local network - discover, cast media, control playback, manage queues, and save/restore states |
| homepage | https://github.com/skorokithakis/catt |
| metadata | {"clawdbot":{"emoji":"📺","requires":{"bins":["catt"]},"install":[{"id":"pip","kind":"uv","package":"catt","bins":["catt"],"label":"Install via pip/uv"}]}} |
Chromecast Control
Control Chromecast and Google Cast-enabled devices on your local network using catt (Cast All The Things).
Quick Reference
| Command | Description |
|---|
catt scan | Find all Chromecasts on network |
catt cast <url> | Cast video/audio |
catt pause / play | Pause/resume |
catt stop | Stop playback |
catt status | Current playback info |
catt volume <0-100> | Set volume |
Use -d <device> to target a specific device by name or IP.
Discovery & Device Management
catt scan
catt -d "Living Room TV" set_default
catt -d 192.168.1.163 set_alias tv
catt -d tv del_alias
catt del_default
Casting Media
Basic Casting
catt cast "https://www.youtube.com/watch?v=VIDEO_ID"
catt cast ./video.mp4
catt cast_site "https://example.com"
Advanced Cast Options
catt cast -s ./subtitles.srt ./video.mp4
catt cast -t 01:30:00 "https://youtube.com/watch?v=VIDEO_ID"
catt cast -r "https://youtube.com/playlist?list=PLAYLIST_ID"
catt cast -n "https://youtube.com/watch?v=VIDEO_ID&list=PLAYLIST_ID"
catt cast --no-subs ./video.mp4
catt cast -y format=best "https://youtube.com/watch?v=VIDEO_ID"
catt cast -b "https://example.com/video.mp4"
Playback Control
catt play
catt pause
catt play_toggle
catt stop
catt skip
catt seek 300
catt seek 01:30:00
catt ffwd 30
catt rewind 30
Volume Control
catt volume 50
catt volumeup 10
catt volumedown 10
catt volumemute on
catt volumemute off
Queue Management (YouTube)
catt add "https://youtube.com/watch?v=VIDEO_ID"
catt add -n "https://youtube.com/watch?v=VIDEO_ID"
catt remove "https://youtube.com/watch?v=VIDEO_ID"
catt clear
State Management
catt save
catt restore
Device Information
catt status
catt info
Configuration
Config file: ~/.config/catt/catt.cfg
[options]
device = Living Room TV
[aliases]
tv = Living Room TV
bedroom = Bedroom Speaker
Network Requirements
- Chromecast and computer must be on same network
- For local file casting: TCP ports 45000-47000 must be open
- Some networks block mDNS - use IP address directly if
catt scan fails
Supported Sources
Catt uses yt-dlp internally, supporting:
- YouTube (videos, playlists, live streams)
- Vimeo, Dailymotion, Twitch
- Direct video URLs (MP4, MKV, WebM, etc.)
- Local files (video, audio, images)
- Hundreds more sites (see yt-dlp supported sites)