Back to Skills Hub
Spotify CLI

Spotify CLI

@shawnpana
productivitySpotify ControlLinux CLIMusic Playback

A command-line interface for controlling Spotify playback from a Raspberry Pi or any Linux system. Supports searching, playing, pausing, and managing tracks with Spotify Premium account integration.

🚀 Control your Spotify playback directly from the command line on Linux or Raspberry Pi. Search for songs, play, pause, skip tracks, and check what's currently playing—all without touching your phone. Perfect for hands-free music control and automation.

💡 Ideal for smart home setups, headless servers, and developers who want to integrate Spotify into scripts or voice assistants. Search first to find the right song, then play with confidence—no more accidental wrong tracks.

✨ Works with any Spotify device already playing music. Simple setup with your Spotify Developer credentials, and you're ready to command your music from anywhere in your terminal.

GitHub

Requirements

Python 3

Python 3 runtime environment

spotipy

Spotify Web API Python library for authentication and playback control