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 或你在用的任意编程智能体里。