Song request system (YouTube Music)

Description

Basically @virtualbober and I wrote provider for Twitch song request
with using API from YouTube Music Desktop App from th-ch

Video Tutorial

Import File

Resources

YouTube Music App

Installation

First Step

Open YouTube Music releases
Download version (tested on 3.8) by clicking on .exe file like on the gif below

Step 2

  • Run application

Step 3

  • Authorize by Google account

Step 4

  • Create a playlist with one song (example on the gif below)

3bva9aqmwm5o7e4bjkgz

Step 5

Then make sure that you run API Server with No authorization (like on the gif below)

q8hcrpomvogjfu122399

Step 6

Then in Streamer.bot click the Import button in the top menu. Drag the .sb file into the Import String field.

Step 7

Then go to Commands and Enable group or what you prefer the most

Step 8

Start playing your playlist

Step 9

Run any of this commands to test if needed

!addsong for example:
qxol27zlwmmggbgiw1hl

Configuration

You can use it as channel point reward (if you are affiliate)
I made a template trigger to save couple of seconds for you :sweat_smile:

Also you can use this command to clear Replay and shuffle state for stream,
if you would like to use it beside streams

Also you can adjust who can use it and when

And if it’s a lonely stream you can always turn on Auto-play to have backup music

Commands

Current version 1.1 has abilities:

!pause - turn off currently playing song
!play - turn on currently playing song
!addsong {song name} - add song by name (first in search)
!addsong {YouTube URL} - add song by YouTube URL (should be Music category)
!skip - skip to the next song (aka !next)
!songinfo - post message in Twitch chat about current song
in format {user} Now playing: {title} from {artist}

(Expected for using by Moderators but also VIPs and Subscribers as a privilege)

!addsongprio {song name} - add song after current in queue by name (first in search)
!addsongprio {YouTube URL} - add song after current in queue by YouTube URL (should be Music category)

!playagain - start playing song again (return current play position to an 1 hour before)

!playnow {song name} - add song and start playing it directly by name (first in search)
!playnow {YouTube URL} - add song and start playing it directly from YouTube URL (should be Music category)

!shuffle - make shuffle of current queue to ruin sequence (randomize next song expectation)

Contributors

@virtualbober @vbagnet

More in details I wrote article but it’s Ukrainian :grinning_face: :ukraine:

1 Like

Works well thank you!

1 Like

This is a great plugin! However, I do have a few complaints:

  1. There is no message that confirms a song has been added to the playlist, so users don’t know if the song was added to the playlist in the first place.
  2. There is no queue where it lets you what songs are next. While there is !songinfo, there is no !queue.

Other than that, it works extremely well (and with a few button options, I was also able to make this work on YouTube Streaming). ^-^

1 Like

It would be in the next version, soon :love_you_gesture:
thank you a lot :heart:

1 Like

Hey, thanks for the extension! I’ve been developing this exact same integration by myself with the help of chatgpt, but it seems I won’t need that buggy mess anymore lol

1 Like

I will build for the next versions:

1.2
Filter:

  • Based on artist for !addsong (remove from queue + message)
  • Based on duration for !addsong (10+ minutes seems to unfair)
    // All can be changed ofc :grinning_face_with_smiling_eyes:

Notification:

  • Song added successfully (with place in queue)
  • “Please use !addsong” (based on duration of queue)

Feature:

  • !wrongsong (which will remove last or by name)
  • !queue (send titles inline)
  • !whatnext (send next song title)

1.3

  • Adapt more for YouTube streaming (@Lunerine)
    :clockwise_vertical_arrows: loading…
1 Like