What does Media Cast Skill do?
Enables the AI agent to discover smart TVs and projectors on the local Wi-Fi network and cast downloaded or local videos directly to the big screen.
Tooling
Backed by the standalone CLI tool tv-cast (located in ~/.local/bin/tv-cast):
- Protocol: Standard DLNA / UPnP AVTransport (supported by Xiaomi, Hisense, TCL, Sony, Dangbei, Xgimi, Apple TV with DLNA, etc.).
- Streaming: Lightweight background HTTP streaming server with HTTP 206 Range support (enables smooth buffering, seeking, and timeline control on the TV).
Workflows
1. Discover Available Screens
When the user asks what TVs or projectors are available:
tv-cast -l --json
Present the found devices (Name, Manufacturer, IP).
2. Cast a Video
When the user says "cast the downloaded video" or "cast to TV":
- Check the target video file path (e.g. in
~/Downloads). - Run casting command:
tv-cast "<video file path>" # Or specify device if multiple devices exist: tv-cast "<video file path>" -d "<device name or IP>" - Report success: video title, target TV name, and reminder of playback control commands.
3. Playback Controls
- Pause:
tv-cast --pause - Resume:
tv-cast --resume - Stop:
tv-cast --stop - Status & Progress:
tv-cast --status