Skip to content

Song requests let viewers help choose the music while you keep control of what reaches the stream. A viewer types !sr with a song name or link, and an accepted request waits in Request queue on the Music page. You can move or remove requests during the stream, then use Request rules to set the boundaries for the next ones.

Start with the service you already use for music. Spotify needs a connected account and an active playback device; YouTube needs the Music Player browser source loaded in OBS. The music player setup explains both paths before you open requests to viewers.

The player and its controls are on Music player.

Who can use this

RoleWhat they may do
Moderator, Lead moderator, Editor, BroadcasterOpen Request rules, change the rules, and work the queue: play next, move, remove, ban and open or close it.
VIPOpen the Music page and read the rules when the Broadcaster allows it.

The roles are explained on Permissions.

Request a song in chat

A viewer types !sr and a song name or a song link:

!sr song name
  1. The bot looks the song up. A pasted link goes to the service that owns it. A song name goes to the service set under Search first (see Sources tab).
  2. The bot checks the request rules (see Why the bot refuses a request).
  3. The song joins the queue. The bot confirms the song in chat with the song, the artist and a link. When a channel-point reward or a pipeline adds the song, the reply shows the song, the artist and a short request code, for example K7QM, with no link.

With no song after !sr, the bot answers Usage: !sr <song name or URL>. One viewer waits 12 seconds between two !sr messages by default. Cooldowns are explained on Cooldowns and permissions.

A link must point to one song. For a playlist, album, episode, show or artist page, the bot answers “Song requests only take individual tracks — that link is a playlist, album, episode, show, or artist page. Paste a single track link, or just search by name instead.”

Take back a request

A viewer types !wrongsong to take back their own last request in the current queue. A viewer can name a particular request with its four-character code, for example !wrongsong K7QM. A viewer sees the code in the reply when a reward or a pipeline added the song. A viewer who knows the queue number of their request can type it after the command, for example !wrongsong 3. The queue number is the one !queue shows. The bot takes the song back only when it is theirs.

The code identifies a waiting request as the queue changes; a queue number identifies its current place. Check the latest queue with !queue before using a number, especially after someone has reordered songs. With no argument and no request of theirs waiting, the command can skip their request that is playing now.

Where the song isWhat the bot does
Waiting in the queueRemoves it. The song does not play.
Already sent to Spotify’s own queueSkips it when it starts. Spotify cannot delete from its own queue.
Playing nowSkips it at once.

A viewer can never take back someone else’s request.

Other music chat commands

A music moderator is a moderator, or a viewer the broadcaster gave the right to moderate the music queue on the Permissions settings page.

CommandWho may use itWhat it does
!srEveryoneRequests a song.
!wrongsongEveryoneTakes back the viewer’s own request.
!queueEveryoneShows the caller’s own waiting requests with their queue numbers and a rough wait. A caller with no waiting request sees the first five songs.
!skipEveryoneOn its own, skips the song that plays now. A viewer can skip only their own song, and a music moderator can skip any song. With a number, for example !skip 2, removes the viewer’s own waiting request at that place in their own list, so !skip 2 removes their second request, not the queue’s second song.
!closequeueA music moderatorCloses the queue to new requests. The music keeps playing and the queued songs stay.
!openqueueA music moderatorOpens the queue to new requests again.
!clearsongsA music moderatorRemoves a viewer’s queued requests, for example !clearsongs viewername. A provider-queued or just-started request can also be skipped.
!bansongA music moderatorBlocks the song that plays now and skips it. Text after the command is saved as the reason.

Their replies, and how to reword them, are on Built-in commands.

Work the request queue

The Request queue panel lists the songs that wait, in the order they play. The header shows the count, for example “4 waiting”, and a badge: Open or Closed. When nothing waits, it shows “No songs are waiting.”

New requests use a fair order rather than a single arrival-order list. A viewer’s first waiting song can go ahead of another viewer’s additional songs, and a song already playing also counts toward that viewer’s turn. This gives more people a chance to contribute; the queue displayed now is the order to consult when requests arrive or a moderator moves them.

A row showsExample
The queue number#1
The coverThe song’s picture
The song and the artistSong Name, Artist Name
Who asked for it“Requested by viewername”
ControlWhat it does
Open queue / Close queueOpens or closes the queue to new requests, at once.
The drag handleDrag a row to move the song.
Play nextMoves the song to the top of the queue.
The trash buttonAsks “Remove this song?”. Remove takes it out of the queue.
The ban buttonAsks “Ban this song?”. Ban song takes it out of the queue and blocks it: “nobody can request it again.”
Pick a requester and Remove all, at the top of the panelThe picker shows only when a viewer has two or more songs waiting, and only to people who may moderate the queue. For one song, use that row’s trash button. Pick a viewer, then Remove all. The dialog asks “Remove 3 songs from viewername?”; choose Remove all in it to confirm.

A request still listed in the bot’s queue can already be starting or held in Spotify’s own queue. Removing that request can skip it immediately if it has started, or arrange to skip it when Spotify reaches it. The same behavior applies to !clearsongs and the Song clear requester pipeline step.

When Spotify has no device that plays, the panel shows “Spotify has no active device. Open Spotify on a device to play requests.”

What survives a bot restart

The bot saves pending requests and their order as the queue changes. On startup it restores a saved queue only when that queue was last changed within the previous 4 hours. An older saved queue is discarded rather than bringing an old stream’s requests back to life.

Set the request rules

Think of the rules as a way to share time fairly. For example, a short Longest song limit stops one request from occupying a long part of the stream, while Songs per person leaves room for other viewers. These rules apply when a request arrives; changing them does not clear the songs already waiting. The one exception is Allow YouTube songs: turning it off takes the waiting YouTube songs out of the queue and stops a YouTube song that plays, within about 20 seconds.

  1. On the Music page, choose Request rules in the page header. The Request rules panel opens at the side, with three tabs: Requests, Sources and Blocked.
  2. Change the rules on the Requests and Sources tabs.
  3. Choose Save. Save and Discard go gray. The bot uses the new rules from the next request on.

Discard puts every field back as it was saved. Save stays off while a number is outside its range.

The Requests are open switch in the panel header saves at once, with no Save. It is the same as Open queue and Close queue. When it is off, the bot answers a request with “The song queue is closed.”

Requests tab

FieldWhat it setsDefault
Songs in the queue, at mostHow many songs the queue holds, from 1 to 500.50
Longest song (minutes:seconds)The longest song a viewer may request, from 0:10 to 60:00.6:00 (360 seconds)
Allow explicit songsWhether a song marked explicit may be requested.On
Songs per person“How many songs one viewer can have in the queue at a time.” From 1 to 50.5
Songs per person per streamHow many songs one viewer may request in one stream, from 0 to 100. “Counts songs that already played. 0 turns the cap off.”0 (off)

The By role group sets Songs per person for one role. It has five boxes:

  • Viewers
  • Twitch subscribers
  • VIPs
  • Moderators
  • Me (the broadcaster)

A blank box shows Same and uses Songs per person. A person gets the highest number among the roles they reach.

Songs in the queue, at most, Longest song, Allow explicit songs and Songs per person per stream never apply to moderators or the broadcaster. When no By role box holds a number, moderators and the broadcaster have no per-person limit either. When any box holds a number, they get the highest number among the roles they reach, and a blank box counts as Songs per person.

Sources tab

FieldWhat it setsDefault
Allow Spotify songsWhether viewers may request from Spotify.On
Spotify requestsWho may request from Spotify. Shows when Spotify is allowed.Everyone
Allow YouTube songsWhether viewers may request from YouTube. Turning it off removes waiting YouTube songs and stops a YouTube song that plays, within about 20 seconds.Off
YouTube requestsWho may request from YouTube. Shows when YouTube is allowed.Only me
Music videos only“Only videos in the Music category or from artist (- Topic) channels.” Shows when YouTube is allowed.On
Search firstThe service a song name is searched on: Automatic, Spotify or YouTube.Automatic

Spotify requests and YouTube requests save as soon as you pick a role, with no Save. Only the Broadcaster can change them.

The choices run from Everyone to Only me, for example Twitch subscribers and up or Moderators and up.

Connecting the services is on Spotify and YouTube.

Banger playlist

The Banger playlist group sets “The playlist !banger adds to.” !banger is on Built-in commands. Playlist lists your playlists, and Choose automatically is the default. Make a playlist on first use is off by default.

Blocked tab

The Blocked tab lists the songs nobody may request, each with its reason when it has one. When the list is empty, it shows “No songs are blocked.”

A song gets on the list through !bansong in chat or the ban button in the Request queue. A blocked song is refused on every way in: chat, a channel-point reward and a script.

Allow takes a song off the list at once. The tab shows “Song Name can be requested again.” with an Undo button for a short time. Undo blocks the song again.

Reset the rules

Reset to default in the panel footer shows when a rule differs from the default. The dialog lists the rules that go back to the default. Requests are open and the banger playlist stay as they are.

Choose Reset to default in the dialog to confirm. The reset also discards every other unsaved edit in the panel.

Why the bot refuses a request

The bot answers each refused request in chat with the reason.

The requestThe bot answers
Playback is off“Song requests are turned off in this channel.”
The queue is closed“The song queue is closed.”
The link’s service is off on the Sources tab“This channel does not take song requests from that music service. Send a song name instead.”
The queue holds Songs in the queue, at most“The queue is full (50 max) — try again once it’s shorter.”
The viewer has Songs per person queued“You already have 5 request(s) queued — wait for one to play before adding more.”
The viewer hit Songs per person per stream“You already requested 3 song(s) this stream. That is the limit.”
The song is longer than Longest song“Failed to add to queue. ”…” exceeds the maximum allowed duration of 6 minutes.”
The song is explicit and Allow explicit songs is off”… is explicit, and explicit songs are not allowed here.”
The song is on the Blocked tab”… is blocked in this channel.”
The song already waits in the queue”… is already in the queue (requested by viewername).”
The song plays now”… is playing right now.”
The viewer’s role is below Spotify requests or YouTube requests“Your role can’t request songs from that music service in this channel. Send a song name instead.”
A YouTube video is not music and Music videos only is onIt says YouTube requests must be in YouTube’s Music category or come from an official artist (- Topic) channel.
No song matches“No tracks found for” and the search text.

Let a refused song through

Four refusals can be lifted for one song: the queue size, Songs per person, Longest song and a YouTube video refused under Music videos only.

  1. In chat, use your chat app’s reply to answer the bot’s refusal message.
  2. Type !permit and nothing else. The bot answers, for example “Queued Song Name for viewername.”, and the song joins the queue.

Only a moderator or the broadcaster may do this. The blocked list and the duplicate check still apply to a permitted song.

The refused request is held for 15 minutes, and only the viewer’s latest qualifying refusal is kept. A bot restart clears these held refusals, so ask the viewer to request again if the bot no longer has the song to permit.

Moderators who ban many songs

The bot counts, for each person who typed !bansong, the songs they banned that are still on the Blocked tab. The rule is about that person, not about the viewer who asked for the song.

Songs that person bannedWhat the bot does
6 to 9Adds a warning to its !bansong reply.
10Adds the warning, and refuses that person’s own !sr requests: “Stop requesting songs, your permission has been revoked”
11 or moreIts !bansong reply says their song request permission is revoked, and it refuses their own !sr requests.

Allow on the Blocked tab takes one ban off that person’s count.

Troubleshooting

When something is not right

Every request is refused, or !sr does nothing. Check these, in order:

  1. Requests are open in Request rules. The Request queue badge must read Open.
  2. Playback on the Now playing panel. With it off, the bot refuses every request (see Music player).
  3. Allow Spotify songs and Allow YouTube songs on the Sources tab. A service that is off takes no requests.
  4. YouTube requests on the Sources tab. By default, only the broadcaster may request from YouTube, and only the Broadcaster can change this field. Pick Everyone, or the lowest role you want, to let viewers request.