From 4d0e5a9f9271c8e49e2cec530d80e032d0b066c3 Mon Sep 17 00:00:00 2001 From: zlei9 Date: Sun, 29 Mar 2026 14:28:21 +0800 Subject: [PATCH] Initial commit with translated description --- SKILL.md | 26 ++++++++++++++++++++++++++ _meta.json | 6 ++++++ 2 files changed, 32 insertions(+) create mode 100644 SKILL.md create mode 100644 _meta.json diff --git a/SKILL.md b/SKILL.md new file mode 100644 index 0000000..19694d2 --- /dev/null +++ b/SKILL.md @@ -0,0 +1,26 @@ +--- +name: sonoscli +description: "控制Sonos扬声器(发现/状态/播放/音量/分组)。首选spogo或spotify_player。" +homepage: https://sonoscli.sh +metadata: {"clawdbot":{"emoji":"🔊","requires":{"bins":["sonos"]},"install":[{"id":"go","kind":"go","module":"github.com/steipete/sonoscli/cmd/sonos@latest","bins":["sonos"],"label":"Install sonoscli (go)"}]}} +--- + +# Sonos CLI + +Use `sonos` to control Sonos speakers on the local network. + +Quick start +- `sonos discover` +- `sonos status --name "Kitchen"` +- `sonos play|pause|stop --name "Kitchen"` +- `sonos volume set 15 --name "Kitchen"` + +Common tasks +- Grouping: `sonos group status|join|unjoin|party|solo` +- Favorites: `sonos favorites list|open` +- Queue: `sonos queue list|play|clear` +- Spotify search (via SMAPI): `sonos smapi search --service "Spotify" --category tracks "query"` + +Notes +- If SSDP fails, specify `--ip `. +- Spotify Web API search is optional and requires `SPOTIFY_CLIENT_ID/SECRET`. diff --git a/_meta.json b/_meta.json new file mode 100644 index 0000000..94ba1ff --- /dev/null +++ b/_meta.json @@ -0,0 +1,6 @@ +{ + "ownerId": "kn70pywhg0fyz996kpa8xj89s57yhv26", + "slug": "sonoscli", + "version": "1.0.0", + "publishedAt": 1767545381030 +} \ No newline at end of file