spotify-player
SuositeltuControl Spotify from your terminal — search tracks, manage playback, and switch devices using spogo or spotify_player.
npx clawhub@latest install spotify-playerVaatimukset
The spotify-player skill brings full Spotify control to your AI agent's terminal environment. Using either spogo (preferred) or spotify_player as the backend, your agent can search for tracks, control playback, switch audio devices, and check now-playing status — all without leaving the command line.This skill is ideal for workflows that need programmatic Spotify control, whether that's automating music for focus sessions, building voice-activated playback commands, or integrating music into broader productivity automations.
Toimintaperiaate
This skill wraps two terminal-based Spotify clients and exposes their capabilities to your agent:spogo (preferred) — authenticates via browser cookie import (spogo auth import --browser chrome) and provides clean commands for search, playback, device management, and status.spotify_player (fallback) — an alternative TUI-based client used when spogo is unavailable, supporting search, playback control, device connection, and track liking.The skill automatically uses spogo if installed, falling back to spotify_player when needed. Configuration lives in ~/.config/spotify-player/app.toml, where you can set a custom client_id for Spotify Connect.
Tärkeimmät ominaisuudet
Track Search — Search Spotify's catalog by track name or query string directly from the terminal.Playback Control — Play, pause, skip to next, or go to the previous track with simple commands.Device Management — List available Spotify Connect devices and set the active playback device by name or ID.Playback Status — Instantly retrieve what's currently playing on your Spotify account.Dual Backend Support — Uses spogo by preference with automatic fallback to spotify_player.Spotify Connect Integration — Configure a custom client_id for advanced Spotify Connect support.
Vaatimukset
Spotify Premium Account — Required. Spotify Premium is necessary for playback control via the Spotify API and CLI tools.Terminal Spotify Client — Required. At least one of spogo or spotify_player must be installed. spogo is strongly preferred. Both can be installed via Homebrew.Browser Cookie Authentication (spogo) — Required when using spogo. Run spogo auth import --browser chrome to authenticate using your browser session.
Käyttötapaukset
Focus Session Automation — Have your agent start a specific playlist or genre automatically when you begin a work session.Voice-Style Playback Commands — Ask your agent in natural language to skip a track, pause music, or search for a song — it translates requests into CLI commands.Multi-Device Control — Switch Spotify playback between your laptop, speaker, or phone from a single terminal command.Music-Aware Workflows — Integrate Spotify status checks into larger automations, such as pausing music when a meeting starts.
Asennusohjeet
npx clawhub@latest install spotify-playernpx clawhub@latest install spotify-playerVaatimukset
Usein kysytyt kysymykset
Arvostelut
0 arvosteluaKirjaudu sisään kirjoittaaksesi arvostelun
Ei arvosteluja vielä. Ole ensimmäinen jakamaan kokemuksesi!