System status
// STREAMION.BOT DOCS

All about streamion.bot.

Sign-in flow, chat commands, event responses, alerts, music integrations — the full reference for your bot configuration.

YouTube Music integration

With YouTube Music connected, streamion.bot adds the videos your viewers request to one of your YouTube playlists. YouTube Music is the second music provider next to Spotify. A channel uses one provider at a time: the one you select under Music Provider on Settings → Music.

YouTube lets streamion.bot add videos to a playlist and read what is in it, but not see what is currently playing or control playback. For you this means:

  • !sr, !playlist and !nexttracks work.
  • !song, !skip, !playsong and !stopsong are Spotify-only. While YouTube Music is your active provider, they are switched off automatically — you play the active playlist yourself during the stream.

Connecting

Both providers are managed on Settings → Music (/settings/music).

  1. Open /settings/music.
  2. Under Music Provider at the top of the page, select YouTube Music if you have not done so already.
  3. Under Connections, click Connect YouTube on the YouTube Music card.
  4. Google asks you to confirm the access. Approve it.
  5. Back on the page, the card shows Connected and the name of your YouTube account.

streamion.bot asks Google for these permissions (scopes): https://www.googleapis.com/auth/youtube, openid and profile. The first one is needed to read and change playlists; the other two identify the account you connect.

Playlists page

On the Playlists page (Music · YouTube Music → Playlists, /youtubemusic/playlists) you choose the YouTube playlist that song requests are added to. It has two lists:

  • Saved playlists — the playlists you have imported into streamion.bot. At most one of them is Active; song requests are added to the end of that one.
  • Your YouTube playlists — the playlists of the connected YouTube account. Click Load from YouTube to fetch them; after that the button reads Refresh.

To set up a playlist for song requests, click Load from YouTube, click Import next to the playlist you want, and then Set as active in its row under Saved playlists.

Only playlists that belong to the connected YouTube account are listed. Playlists by other people that you have merely saved can't be used for song requests.

Other actions: click a saved playlist to see its tracks in a side panel, Deactivate stops using it for song requests, and the Delete icon removes it from streamion.bot (the playlist stays in your YouTube account). While YouTube Music is not the active music provider, the Playlists page and the blacklist are read-only.

Song-request settings

While YouTube Music is the active provider and connected, Settings → Music shows the card Song Requests · YouTube Music. Every change is saved at once.

SettingDefaultDescription
Enable song requestsonThe main switch, at the top of the card. When off, !sr replies "Song requests are currently disabled."
Max. track length (seconds, empty = unlimited)420 (7 minutes)Longer videos are rejected. Allowed values: 30 to 1800 seconds (30 minutes). Leave the field empty for no limit.
Max. requests per user per stream (empty = unlimited)emptyHow many tracks each viewer can successfully request per stream. Failed attempts (not found, blocked, …) do not count. The count starts again when your channel goes live. Allowed values: 1 to 100.
Block explicit/age-restricted videosoffRejects age-restricted videos, videos with (Explicit) or [Explicit] in the title, and videos the uploader tagged as explicit. YouTube does not mark explicit content as reliably as Spotify does, so this filter works with the signals available; use the blacklist for whatever slips through.
Duplicate check (against active playlist)onRejects a video that is already in the active playlist.

Channel-point song requests

Instead of — or in addition to — the !sr command, viewers can request songs by redeeming a Twitch channel-point reward. streamion.bot creates and manages the reward; a redeemed request is handled exactly like !sr and is added to your active YouTube playlist.

Set it up on Settings → Music (/settings/music), in the card Song requests via channel points: the switch Enable channel-point song requests, the Reward name (default Song Request, up to 45 characters) and the Channel-point cost (default 500). A viewer types the song into the reward's text box; if it is added, the redemption is fulfilled, and if the request fails, the points are refunded automatically. When you turn the switch on, streamion.bot asks whether !sr should be disabled — choose Disable !sr to take requests through channel points only, or Keep both. The Spotify page describes the card in full.

The reward needs a Twitch permission that older connections don't include. If the card shows a warning and a Reconnect button, click it and approve the request on Twitch — this reconnects your broadcaster account, which you can also do on the Channel page.

Blacklist

The blacklist keeps channels or keywords out of your song requests. You find it under Music · YouTube Music → SR Blacklist (/settings/youtubemusic/blacklist). Click New entry, choose the Type and fill in the panel:

  • Channel — enter the Channel id (the UC… string, 24 characters; you find it in the channel's URL youtube.com/channel/UC…) and a Channel display name of your choice. The name is only shown in the list and is not used for matching. Everything that channel uploads is then blocked. Unlike the Spotify artist blacklist, there is no lookup by link or @handle here — paste the UC… ID itself.
  • Keyword — at least 2 characters. A video is blocked if its title or the name of its channel contains the keyword; upper and lower case don't matter. Useful for blanket bans on themes or sound-alike covers.

If you fill in the optional Reason, the viewer sees it in chat when the request is blocked. Entries can't be edited: click an entry to see its details or delete it. Blacklist entries apply to your channel only.

Chat commands while YouTube Music is active

CommandPermissionBehaviour
!sr <input> (alias !songrequest)EveryoneRequests a song. The input can be a YouTube or YouTube Music video link, a youtu.be/... short link, a YouTube video ID or a search text such as Artist - Title. For a search text, the first YouTube search result is used.
!playlist (alias !pl)EveryoneShows the active YouTube playlist with a link.
!nexttracks (alias !queue)EveryoneShows the first 3 tracks of the active playlist. YouTube does not tell streamion.bot which track is playing, so the list always starts at the top of the playlist.

Under Chat Bot → Commands you can change each command's aliases, minimum role and cooldowns for your channel, or switch it off. The trigger itself is fixed.

Disconnecting

Click Disconnect on the YouTube Music card on /settings/music and confirm. streamion.bot deletes its tokens and removes the stored connection. To revoke the access on Google's side as well, visit myaccount.google.com/permissions.

Troubleshooting

  • !sr says "Song requests are currently disabled." — The switch Enable song requests on the card Song Requests · YouTube Music is off.
  • !sr says "No active playlist set. A moderator must set one first!" — Import a playlist on the Playlists page and click Set as active.
  • The YouTube Music card shows Re-authorize — streamion.bot can no longer renew its access. Click Reconnect and confirm the access at Google again. Common causes: the access was removed in the security settings of the Google account, or the account's password changed.
  • A video gets through the explicit filter — Add the uploader's channel or a keyword to the blacklist on /settings/youtubemusic/blacklist.