home-music
от asteinberger
Smart Home & IoTКратко
Control whole-house music scenes combining Spotify playback.
Описание
Что делает этот навык
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.
Когда его использовать
- 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
Пример сценария
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
Требования
- Spotify Desktop App installed and running
- Airfoil installed and running (paid app, rogueamoeba.com)
Установка
clawhub install asteinberger/home-musicВыполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.