Spotify sub-actions¶
Add song to Spotify queue¶
Puts a song in your Spotify queue, so it plays after the current one. Made for a !sr command. Runs "Added" when it worked and "Not added" (with %spotify.error%) when it did not.
| Setting | What to put in |
|---|---|
| Song | A song name to search for, like "bohemian rhapsody queen", or a Spotify song link. The default %rawInput% is what a viewer typed after the command. Starts as: %rawInput%. |
Paths it can take: Added, Not added.
Variables it adds
| Variable | What it holds |
|---|---|
%spotify.added% |
True when the song was added, False when not |
%spotify.title% |
The name of the song that was added |
%spotify.artist% |
Who sings or plays it |
%spotify.album% |
The album the song is on |
%spotify.link% |
A web link to the song, handy to post in chat |
%spotify.uri% |
Spotify's own code for the song (spotify:track:…) |
%spotify.error% |
Why it did not work, in plain words, like "Open Spotify on a device first…". Send it in chat from the "Not added" branch. |
Type id: spotify.addToQueue
Pause / resume¶
Pauses Spotify, or makes it play again. Handy for a hotkey or a Stream Deck button. Needs Spotify Premium.
| Setting | What to put in |
|---|---|
| Do | Pause, Resume (play again), or switch: pause if it plays and play if it is paused. Options: Pause if playing, play if paused, Pause, Resume. Starts as: Pause if playing, play if paused. |
Variables it adds
| Variable | What it holds |
|---|---|
%spotify.playing% |
True when Spotify plays afterwards, False when it is paused |
Type id: spotify.playPause
Previous song¶
Goes back to the previous song on Spotify. Needs Spotify Premium and Spotify open on a device.
Type id: spotify.previous
Set volume¶
Changes the volume of the device Spotify plays on. Some devices, like many phones, do not allow it. Needs Spotify Premium.
| Setting | What to put in |
|---|---|
| Volume (0-100) | The new volume from 0 (silent) to 100 (loudest), like 40. You can use a variable such as %rawInput%. Starts as: 50. |
Type id: spotify.setVolume
Skip song¶
Skips to the next song on Spotify. Needs Spotify Premium and Spotify open on a device.
Type id: spotify.skip