0.1.2 • Published 9 years ago

spotify-terminal v0.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

spotify-terminal

Note: OSX Only.

"This CLI increased my productivity by 87.6%!" - Satisfied user

Installation

Get Spotify.

$ [sudo] npm install -g spotify-terminal

Usage

For all available commands run

$ music --help
Search and play
$ music play drake

Input the number of the track you'd like to hear and hit enter. Spotify will start playing the album the track is in, starting with the selected track.

Next, previous, play/pause

We've all used headphones with single-button controls. Same idea. Play/pause is one ., next is two .., prev is three ....

$ music ..
Options
  • -v 0..100 change volume
  • -b jump backward N seconds
  • -j jump to N seconds
  • -f jump forward N seconds
  • -s Toggle shuffle
  • -r Toggle repeat playlist

Jumps to the 60 second mark, then forward 30 seconds, then backwards 10 seconds. Toggles repeat playlist. Toggles shuffle, and then cranks up the volume to 100%.

$ music -j 60 -f 30 -b 10 -r -s -v 100

This package uses dronir's awesome SpotifyControl script, and is based on a fork of music by sjkaliski. 👏👏