Skip to content

Sjatar/YTData2Streamer.bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Uses violent monkey to load a js script to any youtube domain.

Script opens a websocket connection to streamer bot and will send youtube title, video_id and current time.


I use violent monkey and firefox, I don't expect it to work on chrome but if anybody tries you can tell me how it goes!

Raw script: https://raw.githubusercontent.com/Sjatar/YTData2Streamer.bot/main/userscript.js


To download it, download violent monkey and go into settings. Press the add button and new. image

Copy the raw script above and paste it in! Don't be scared, but we need to edit two things!


You can see two lines in the websocket message we send, "id" and "name". This is line 83 and 84! image

You want to create a action in streamer.bot called something like "YoutubePlayback", paste this name instead of the existing name!

You want to right click the action you created and copy the "action id", paste this instead of the existing id!


In streamer.bot you want to setup sub-actions for the action you created to make the recieved variables into global variables! image

You should now be able to see the variables in global variables if the script is able to send the websocket message ^^


Use responsibly!

About

Sends Youtube video data to streamer.bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published