A simple command line interface to control spotify
Useage:
################################################
################### SPOT-CLI ###################
################################################
Usage:
spot_cli [command]
Avalilable Commands:
play, pause, next, previous, artist, status
Command descriptions
NO ARG - toggle play/pause
play - starts playback
pause - pauses playback
next - plays next track
prev - plays previous track
artist - displays info about the artist
status - displays info about the playback status
shell - Enter shell mode
Shell Mode:
Shell mode allows you to keep the spot-cli tools
open. This means you can just type the commands with out
having to run the binary.
To exit shell mode:
CTRL+C or close the terminal
- Download tar from releases
- Install the spotify client
- Install dbus and dbus-devel
- Locate the dbus include and library dir (/usr/lib64/dbus-1.0/include/ & /usr/lib64/dbus-1.0/include/)
- run ./configure
- run make
- Optional: make install (will install in /usr/local/bin by default)
- run ./spot_cli
- dbus
- dbus-devel
- spotify client or spotifyd (not tested, but should work)