node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

spotify-kontrol-cli

kontrol-cli

Send commands to a remote Spotify client with your terminal

Screenshot

How to use

  1. Install module globally: npm install -g spotify-kontrol-cli
  2. Install and run Spotify app: https://github.com/carlbarrdahl/spotify-kontrol-app
  3. Set channel displayed in the Spotify app: kontrol config set channel "asdf"
  4. kontrol play

Commands

kontrol play

Play track

kontrol play

kontrol pause

Pause track

kontrol pause

kontrol next

Play next track

kontrol next

kontrol prev

Play previous track

kontrol prev

kontrol vol

Set player volume

kontrol vol <value>

kontrol shuffle

Set shuffle mode

kontrol shuffle <boolean>

kontrol repeat

Set repeat mode

kontrol repeat <boolean>