home-music
asteinberger tarafından
Smart Home & IoTÖzet
Control whole-house music scenes combining Spotify playback.
Açıklama
Bu Beceri Ne Yapar
Controls whole-house music by combining Spotify playback with Airfoil speaker routing. Preset scenes (morning, party, chill, off) set the playlist, speaker targets, and volume in one command. Works on macOS via AppleScript.
Replaces the manual process of opening Spotify, picking a playlist, switching to Airfoil, selecting speakers, and adjusting volume separately, all with a single command.
Ne Zaman Kullanılır
- Starting a low-volume morning playlist on a single speaker
- Routing party music to all speakers simultaneously
- Switching to a quiet chill playlist for evening relaxation
- Stopping all music and disconnecting every speaker at once
- Checking which track is playing and which speakers are active
Örnek İş Akışı
User asks: start party mode
- 1
Detects 'party mode' trigger
- 2
Sets Airfoil audio source to Spotify
- 3
Connects all configured speakers (Computer, MacBook, Sonos Move, Living Room TV)
- 4
Sets speaker volume to 70%
- 5
Starts the Rock Party Mix playlist in Spotify
All speakers playing Rock Party Mix at 70% volume
Gereksinimler
- Spotify Desktop App installed and running
- Airfoil installed and running (paid app, rogueamoeba.com)
Kurulum
clawhub install asteinberger/home-musicCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.