This is an iOS app, but if it isn’t what you were hoping for, check out these other projects.

A CLI UI for Spotify [0] Spotify as a daemon [1]

[0] https://github.com/Rigellute/spotify-tui

[1] https://github.com/Spotifyd/spotifyd