Registry / communication / spotipy-tui

spotipy-tui

JSON →
library1.0.5pypypi✓ verified 80d ago

A text-based user interface (TUI) for controlling the Spotify desktop client, built on spotipy. Version 1.0.5; no recent activity, last release 2023. Low cadence.

pip install spotipy-tui
INSTALL
IMPORT
SIG · SPOTIPY-TUI
S
spotipy-tui
communicationpythonv1.0.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SpotipyTUI
import spotipy_tui
from spotipy_tui import SpotipyTUI

Initialize and run the TUI using Spotify credentials from environment variables.

from spotipy_tui import SpotipyTUI import os client_id = os.environ.get('SPOTIPY_CLIENT_ID', '') client_secret = os.environ.get('SPOTIPY_CLIENT_SECRET', '') redirect_uri = 'http://localhost:8888/callback' tui = SpotipyTUI(client_id=client_id, client_secret=client_secret, redirect_uri=redirect_uri) tui.run()
spotipy-tui --version
Debug
Known issues
gotchaRequires the Spotify desktop client running. The TUI controls the local client, not the web API.
fix
Ensure Spotify desktop app is open and playing on the same machine.
affects: all
deprecatedUses spotipy with the 'user-modify-playback-state' scope, which may be deprecated. Some endpoints may stop working.
fix
Check spotipy docs for updated scopes; manually set scope in scope parameter.
affects: all
Upgrade
Version history
1.0.5latest on PyPI · released Aug 2, 2015
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
20
OpenAI (training)
1
Resources
spotipy-tui — pip install spotipy-tui · libregistry