Skip to content

Instantly share code, notes, and snippets.

@c-lliope
Created June 30, 2017 16:43
Show Gist options
  • Save c-lliope/6f13a4df99116e4edabd65d465f7293d to your computer and use it in GitHub Desktop.
Save c-lliope/6f13a4df99116e4edabd65d465f7293d to your computer and use it in GitHub Desktop.
Shpotify command-line usage
Usage:
spotify <command>
Commands:
play # Resumes playback where Spotify last left off.
play <song name> # Finds a song by name and plays it.
play album <album name> # Finds an album by name and plays it.
play artist <artist name> # Finds an artist by name and plays it.
play list <playlist name> # Finds a playlist by name and plays it.
play uri <uri> # Play songs from specific uri.
next # Skips to the next song in a playlist.
prev # Returns to the previous song in a playlist.
replay # Replays the current track from the beggining.
pos <time> # Jumps to a time (in secs) in the current song.
pause # Pauses Spotify playback.
quit # Stops playback and quits Spotify.
vol up # Increases the volume by 10%.
vol down # Decreases the volume by 10%.
vol <amount> # Sets the volume to an amount between 0 and 100.
vol [show] # Shows the current Spotify volume.
status # Shows the current player status.
share # Displays the current song's Spotify URL and URI.
share url # Displays the current song's Spotify URL and copies it to the clipboard.
share uri # Displays the current song's Spotify URI and copies it to the clipboard.
toggle shuffle # Toggles shuffle playback mode.
toggle repeat # Toggles repeat playback mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment