Назад к навыкам
media-player
от xejrax
Media & Streaming1.8kЧисло загрузок по данным clawskills.sh
3Звёзды
0Просмотры
0 лайковВойдите, чтобы поставить лайк навыку—Ещё нет оценок
Ваша оценка
Кратко
Play audio/video locally on the host.
Описание
Что делает этот навык
Plays audio and video files locally on the host using mpv. Accepts local file paths and remote URLs, including HTTP streams and HLS playlists.
mpv runs without a GUI, making it usable over SSH or in minimal environments where desktop media players are unavailable.
Когда его использовать
- Playing local MP3 or video files from the terminal
- Streaming an HLS or online radio URL without opening a browser
- Quick media preview during a shell session
- Controlling playback with pause and stop commands from scripts
- Playing media on a headless or SSH-connected machine
Пример сценария
ВВОД
User asks: play https://example.com/stream.m3u8
АГЕНТ
- 1
Receive the URL from the user
- 2
Call media-player play with the provided URL
- 3
mpv opens and begins streaming the content
- 4
Confirm playback has started
ВЫВОД
The HLS stream plays through mpv on the host machine
Требования
- mpv media player (install via: sudo dnf install mpv)
Установка
clawhub install xejrax/media-playerВыполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.