Skip to content

jaapmengers/sonos_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sonos_cli

This NPM package provides CLI playback control for those who exclusively or primarily use Sonos with Spotify. It enables you to search artists, albums and tracks on Spotify, queue them and do some basic playback control. If you have not done so, you will first need to configure your Spotify account from within the Sonos app.

Install with NPM: npm install sonos_cli -g.

Usage:
  sonos [OPTIONS] [ARGS]

Options:
  -p, --play               Play whichever track is currently queued
  -u, --pause              Pause playback
  -s, --search      STRING Search an artist in Spotifys collection
  -a, --addandplay  STRING Add a track or an album by spotify URI and play it
  -m, --mute               Mute
  -u, --unmute             Unmute
  -b, --browse             Browse the list of enqueued tracks
  -n, --next               Plays the next track in the queue
  -r, --previous           Plays the previous track in the queue
  -c, --current            Shows the track currently playing
  -d, --device      STRING Connects to the device at the provided IP
  -h, --help               Display help and usage details

About

Sonos Command Line Interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published