From e37c4dfda3ba3278499e062a248161071f11aeb9 Mon Sep 17 00:00:00 2001 From: zlei9 Date: Sun, 29 Mar 2026 14:28:29 +0800 Subject: [PATCH] Initial commit with translated description --- SKILL.md | 34 ++++++++++++++++++++++++++++++++++ _meta.json | 6 ++++++ 2 files changed, 40 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..cf5bc3a --- /dev/null +++ b/SKILL.md @@ -0,0 +1,34 @@ +--- +name: spotify-player +description: "通过spogo或spotify_player进行终端Spotify播放/搜索。" +homepage: https://www.spotify.com +metadata: {"clawdbot":{"emoji":"🎵","requires":{"anyBins":["spogo","spotify_player"]},"install":[{"id":"brew","kind":"brew","formula":"spogo","tap":"steipete/tap","bins":["spogo"],"label":"Install spogo (brew)"},{"id":"brew","kind":"brew","formula":"spotify_player","bins":["spotify_player"],"label":"Install spotify_player (brew)"}]}} +--- + +# spogo / spotify_player + +Use `spogo` **(preferred)** for Spotify playback/search. Fall back to `spotify_player` if needed. + +Requirements +- Spotify Premium account. +- Either `spogo` or `spotify_player` installed. + +spogo setup +- Import cookies: `spogo auth import --browser chrome` + +Common CLI commands +- Search: `spogo search track "query"` +- Playback: `spogo play|pause|next|prev` +- Devices: `spogo device list`, `spogo device set ""` +- Status: `spogo status` + +spotify_player commands (fallback) +- Search: `spotify_player search "query"` +- Playback: `spotify_player playback play|pause|next|previous` +- Connect device: `spotify_player connect` +- Like track: `spotify_player like` + +Notes +- Config folder: `~/.config/spotify-player` (e.g., `app.toml`). +- For Spotify Connect integration, set a user `client_id` in config. +- TUI shortcuts are available via `?` in the app. diff --git a/_meta.json b/_meta.json new file mode 100644 index 0000000..e32459a --- /dev/null +++ b/_meta.json @@ -0,0 +1,6 @@ +{ + "ownerId": "kn70pywhg0fyz996kpa8xj89s57yhv26", + "slug": "spotify-player", + "version": "1.0.0", + "publishedAt": 1767545382402 +} \ No newline at end of file