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
| Action | What it does |
|---|---|
| Play / pause | Shows the cover of what is playing. |
| Next track / Previous track / Seek | Skip, or jump forward, back or to the start. |
| Now playing | Track and artist with progress. |
| Like | Adds the track to Liked Songs or removes it; lit while it is liked. |
| Add to playlist | Adds the track to one of your playlists. |
| Play | Plays a playlist, album, artist, track or episode from a Spotify link, or queues it. |
| Spotify volume, Shuffle, Repeat | Playback settings. |
| Play on a device | Moves 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:
- In the developer dashboard press Create app.
- Add the redirect URI
http://127.0.0.1:43821/callback, tick Web API, and save. - Copy the app's Client ID into the plugin's settings.
- 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
| Permission | Why |
|---|---|
| Network | Talking to Spotify. |