🎵

spotify-player

精選

Control Spotify from your terminal — search tracks, manage playback, and switch devices using spogo or spotify_player.

作者 OpenClawv1.0.0
Productivity & TasksProductivityAI PoweredOpen SourceAutomationCLI
正在連線至 VM...
正在連線至 VM...
npx clawhub@latest install spotify-player
71目前安裝數
v1.0.0版本

系統需求

spogo

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.

運作原理

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.

核心功能

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.

系統需求

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.

使用情境

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.

安裝方式

1
Run in your terminal
npx clawhub@latest install spotify-player
or
2
Click the Install button at the top of this page for one-click setup

常見問題

評價

0 則評價

登入後撰寫評價

尚無評價。來分享你的使用體驗吧!