Commands

sonos open

sonos open

Adds a Spotify item to the queue using AVTransport.AddURIToQueue, then starts playback. No Spotify Web API credentials required — Sonos uses the Spotify account already linked in the Sonos app.

#Synopsis

sonos open <spotify-uri-or-link> --name "<Room>" [--next] [--title "<title>"]

#Flags

FlagWhat it does
--nextInsert as the next item (shuffle mode only).
--title stringOptional display title for the queued item.

#Examples

# A track share link
sonos open --name "Kitchen" "https://open.spotify.com/track/6NmXV4o6bmp704aPGyTVVG"

# Canonical URIs work too
sonos open --name "Kitchen" spotify:album:0nrRP2bk19rLc0orkWPQk2
sonos open --name "Kitchen" spotify:playlist:37i9dQZF1DXcBWIGoYBM5M
sonos open --name "Kitchen" spotify:episode:4rOoJ6Egrf8K2IrywzwOMk

#Supported types

track, album, playlist, show, episode.

#See also