YouTube Music Song Requests and Controls for Live Streaming
Allow viewers to add song requests to YouTube music via either command, or Twitch channel point redeems during live streaming. This extensions not only serves as a way to control YouTube Music Desktop App via commands, but also affords the opportunity for viewers to add songs to the broadcasters playlist to be listened to later.
How-To Set Up YouTube Music Song Requests and Controls for Live Streaming Video Tutorial
Required Downloads for YouTube Music Song Requests
Download from Ko-fiHow-To Install YouTube Music Song Requests and Controls Extension
- Sign Into YTM Desktop App
- Create a New Project at console.cloud.google.com.
- Enable APIs and Services
- Create Credentials
- Under OAUTH CLIENT
- Create a Web Application
- Redirect URIs:
http://127.0.0.1:1444
http://localhost:1444
- Create Credentials and Copy down the following:
- API Key
- Client ID
- Client Secret
- Go to YouTube Music
- Create a new playlist, I recommend you make it 'Private'
- Copy the Playlist ID after you create it
- Import Code into Streamer.bot by dragging the downloaded file into the
Import String
box, as depicted.
You will get 22 ACTIONS, 19 COMMANDS, and 1 TIMED ACTION
- Ensure you click on the
Commands
Tab and Enable them after import!
- Open the YTM Desktop App and click the ⚙ Icon in the Top Right corner
- Then press
Integrations
- Press the button to Enable
Companion Server
- Press the button to
Enable Browser Communication
- Press the button to
Enable Companion Authorization
- Then press
How to Initialize YouTube Music Song Requests and Controls
- Go back to streamer.bot and paste the following in their respective argument:
- Client ID
- Client Secret
- API Key
- Playlist ID
- Once updated, ensure you click
Save
at the top of Streamer.bot, open up your chat, and type the command!ytmSetup
During this process, you'll get a pop-up window in your web browser warning you that the application is unverified, click continue anyways and authorize the app. Once you see the screen with my face on it-close out of your browser. Additionally, YTM Desktop App will give a pop-up with an authorization code, you DON'T need to copy that one either-just close out the window.
SPECIAL NOTE: The items that add to the playlist will be played automatically, as long as that playlist is playing. If it switches over to auto-generating music and you get another request, you'll manually have to click on your playlist again in the app!
Setting up the YouTube Music Extension Auto Runner
The Auto Runner is what checks for the currently playing song and updates the song information since most of the media on YouTube Music doesn't come with that information. It saves them as global variables under ytmAlbumArt
, ytmAlbumName
, ytmArtist
, and ytmSong
.
- On the YTM Auto Runner Action, Right-Click on the trigger and enable it
- Go to the
Settings
Tab and then clickTimed Actions
and Right-Click toEnable
YTM Auto Runner
YouTube Music Song Requests Available Controls
Command | Controllable Feature | Description |
---|---|---|
!ytmDislike | Dislike | Dislikes the currently playing song. |
!ytmLike | Like | Likes the currently playing song. |
!ytmMute | Mute | Mutes the YTM Player, but doesn't pause. |
!ytmUnmute | Unmute | Unmutes the YTM Player. |
!ytmPause | Pause | Pauses the YTM Player. |
!ytmPlay | Play | Resumes playing the YTM Player. |
!ytmPrevious | Previous | Restarts the currently playing song. |
!ytmSkip | Skip | Skips the currently playing song. |
!ytmQueue | Queue | Lists all the songs on the current playlist. |
!ytmUpNext | Up Next | Lists number of songs in queue and next up. |
!ytmSong | Song | Displays current song's Title and Artist. |