İçeriğe geç
TakoAPI
Becerilere dön

apple-media

aaronn tarafından

Media & Streaming
2.4kİndirme sayıları clawskills.sh tarafından bildirilir
5Yıldızlar
0Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

Control Apple TV, HomePod, and AirPlay devices via pyatv.

Açıklama

Bu Beceri Ne Yapar

Controls Apple TV, HomePod, and AirPlay devices from the command line using pyatv's atvremote tool. Supports playback, volume, navigation, multi-room audio grouping, streaming local files or remote URLs, and live push updates. Apple TV requires pairing first; HomePods marked 'NotNeeded' can be used immediately.

Gives shell-level access to Apple media devices, enabling scripting and automation that the Home app and Siri don't support.

Ne Zaman Kullanılır

  • Adjusting HomePod volume from a terminal without touching a phone
  • Streaming a local audio file to an Apple TV or HomePod
  • Pausing playback on a specific room's speaker from a script
  • Grouping multiple HomePods into a synchronized audio session
  • Automating Apple TV navigation to launch apps or enter search text

Örnek İş Akışı

GİRİŞ

User asks: Stream a local podcast file to the Kitchen HomePod

AJAN
  1. 1

    Run atvremote --scan-hosts 10.0.0.50 scan to discover devices on the network

  2. 2

    Confirm the device named 'Kitchen' is listed with pairing status 'NotNeeded'

  3. 3

    Run atvremote -n "Kitchen" stream_file=/home/user/podcast.mp3 to start playback

  4. 4

    Run atvremote -n "Kitchen" set_volume=60 to adjust volume

ÇIKIŞ

Podcast audio plays on the Kitchen HomePod at the specified volume

Gereksinimler

  • atvremote CLI (installed via pyatv)
  • Python 3.13 or earlier (incompatible with Python 3.14+)

Kurulum

clawhub install aaronn/apple-media

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar