Lewati ke konten
TakoAPI
Kembali ke skill

media-player

oleh xejrax

Media & Streaming
1.8kUnduhan dilaporkan oleh clawskills.sh
3Bintang
0Tayangan
0 sukaMasuk untuk menyukai skill ini
—Belum ada penilaian
Penilaian Anda

Ringkasan

Play audio/video locally on the host.

Deskripsi

Apa yang Dilakukan Skill Ini

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.

Kapan Menggunakannya

  • 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

Contoh Alur Kerja

INPUT

User asks: play https://example.com/stream.m3u8

AGENT
  1. 1

    Receive the URL from the user

  2. 2

    Call media-player play with the provided URL

  3. 3

    mpv opens and begins streaming the content

  4. 4

    Confirm playback has started

OUTPUT

The HLS stream plays through mpv on the host machine

Persyaratan

  • mpv media player (install via: sudo dnf install mpv)

Instalasi

clawhub install xejrax/media-player

Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.

Tautan