roomsound
بواسطة icecat2005
Media & Streamingموجز
RoomSound gives your agent the skill to play audio to your speakers.
الوصف
ما الذي تفعله هذه المهارة
RoomSound plays audio to Bluetooth speakers by combining YouTube search and streaming with Bluetooth device management. It resolves search queries to stream URLs, builds contextual queues targeting 90 minutes of audio, and switches speaker output by alias. Runs on Linux using yt-dlp, mpv, and bluetoothctl.
Combines YouTube audio search, stream resolution, queue building, and Bluetooth speaker switching in one agent skill, eliminating the need to juggle separate apps or terminal sessions.
متى تستخدمها
- Playing lo-fi music on a Bluetooth speaker by asking in plain language
- Switching audio output from a desk speaker to kitchen speakers mid-session
- Building an auto-queued background playlist without manually picking tracks
- Listing all paired Bluetooth speakers and checking which are connected
- Queuing a specific set of YouTube URLs to play back in order
مثال على سير العمل
User asks: "Play some jazz on the kitchen speaker"
- 1
Search YouTube with yt-dlp for jazz tracks and retrieve titles, durations, and URLs
- 2
Resolve stream URLs for enough tracks to fill at least 90 minutes
- 3
Look up the 'kitchen' alias and retrieve its stored Bluetooth MAC address
- 4
Disconnect any currently connected speakers and connect the kitchen device
- 5
Start mpv with the resolved stream URLs in queue order
Jazz playlist begins playing through the kitchen Bluetooth speaker
التثبيت
clawhub install icecat2005/roomsoundشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.