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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.