Song request system v1.2 (YouTube Music)

Description

Me and @virtualbober wrote song request provider for Twitch
Using API from th-ch for YouTube Music App

Video Tutorial (for v1.1)

For v1.2 only this guide for now :backhand_index_pointing_right::backhand_index_pointing_left:

Import File

Patreon page (free)

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:
vujp4vdzcpaididwrnqa
It will be in english ofc

Configuration

Choose your OBS here:


and here:

Choose path to your YouTube Music.exe to run it automatically

I suggest to use it with “Resume last song option” to have smooth start

Abbilities

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:
I made icons as well: Patreon page (free)

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

Filter artists, song names, channel names

From v1.2
:brain: Automatically removes duplicates and songs longer than 10 minutes
:brain: Supported with chat messages (but gently, no spam)
:brain: Removes URL messages after order

Commands

Current version 1.2 has abilities:

!addsong {song name / youtube url} - add song by name or Youtube URL
!pause - turn off currently playing song
!play - turn on currently playing song
!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}
!wrongsong - delete last added song, even if it’s !addsongprio
!queue - show songs queue (5 by default with current one)

(Expected to be using by VIPs and Subscribers as a privilege and Moderators as a tool)

!addsongprio {song name / youtube url} - add song after current in queue by name or YouTube URL
!playagain - start playing song again (return current play position to an 1 hour before)
!playnow {song name / youtube url} - add song and start playing it directly by name or YouTube URL
!reminder - Toggle chat reminders to request songs

Contributors

@vbagnet @virtualbober

Known issues

!shuffle - doesn’t work because of YouTube Music bug :lady_beetle:
Made a report, when they will fix - I will update

More in details I wrote articles but it’s in 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)
  • !reminder (toggle reminders)

1.3

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