Spotify_cmd is a command line utility that enables users to control their Spotify music. It allows users to play, pause, and skip tracks, as well as search for, browse, and queue songs. It also provides access to the user's playlists, albums, artists, and songs. Additionally, Spotify_cmd can be used to control the volume, mute, and unmute the music. Spotify_cmd is available for Mac, Windows and Linux, and is open source.
Discontinued Spotify closed the required API. See https://github.com/Spotifyd/spotifyd