Skip to content

brnbp/spotify-for-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPT - Spotify Player for Terminal

spt is a really simple NodeJS script to control Spotify from the command line on a Mac.

Installation

Minimum requirements:

  • node: >= 7.6
  • yarn
  • macOS Sierra or newer

You need to install the script manually by following a few steps:

  1. Fetch a copy of this repository.

      Ex: 
        $ git clone git@github.com:brnbp/spotify-for-terminal.git && cd spotify-for-terminal
    
  2. Navigate to the folder where you fetched the repository and install dependencies:

     $ yarn 
    
  3. Make sure the file called spt is executable:

    chmod +x spt
    
  4. Make a symbolic link for spt at a convenient location in your PATH, or set your PATH to include the folder where the file is located.

      Ex: 
        $ sudo ln -s $PWD/spt /usr/local/bin
    

Usage

  spt play      Play current song.
  spt pause     Pause current song.

  spt next      Skip to the next song.
  spt prev      Return to the previous song.

  spt status    Shows the play status, including the current song details.

  spt open      Open Spotify.
  spt quit      Stops playback and quits Spotify.

  spt --help    Shows a summary of available commands

About

Spotify Player for Terminal (mac only)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published