Skip to Content
sdeck docs

Spotify

What is playing, and everything to control it.

Now playing and playback control, Liked Songs, playlists and devices, through the Spotify Web API.

Install

Open Plugins in sdeck Studio and install Spotify.

Actions

ActionWhat it does
Play / pauseShows the cover of what is playing.
Next track / Previous track / SeekSkip, or jump forward, back or to the start.
Now playingTrack and artist with progress.
LikeAdds the track to Liked Songs or removes it; lit while it is liked.
Add to playlistAdds the track to one of your playlists.
PlayPlays a playlist, album, artist, track or episode from a Spotify link, or queues it.
Spotify volume, Shuffle, RepeatPlayback settings.
Play on a deviceMoves playback to another device that has Spotify open.

Setting up

Press Sign in and allow access in the browser. Controlling playback needs Spotify Premium.

With an app of your own

You can sign in through a Spotify app of your own instead of sdeck's:

  1. In the developer dashboard press Create app.
  2. Add the redirect URI http://127.0.0.1:43821/callback, tick Web API, and save.
  3. Copy the app's Client ID into the plugin's settings.
  4. Press Sign in again.

If port 43821 is taken, change Sign-in port and the redirect URI to match. If you signed in before the library and playlist keys existed, sign in again.

Triggers and live values

When the track changes fires with the new track.

spotify.playing, track, artist, album, art, progress, position, duration, startedAt, volume, shuffle, repeat, device, uri and liked (all prefixed with spotify.).

Permissions

PermissionWhy
NetworkTalking to Spotify.

Good to know

Spotify keys play and pause, skip, seek, change the volume (or mute), shuffle and repeat; like or unlike what is playing (lit while it is in Liked Songs); add it to one of your playlists; play a playlist, album, artist, track or episode from a Spotify link, or add one to the queue; and move playback to another device. A trigger fires when the track changes. Signed in before these existed? Sign in again, so sdeck gets the permissions for your library and playlists.

On this page