How to autoplay Nightbot AutoDJ music from browser source?

Asked Sep 12, 2024·1 reply·Last activity 1 year ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

Simple request, looking to integrate my Nightbot AutoDJ flow straight into OBS by using the browser source instead of having to open it in my browser and manually start it every stream. This'd allow me to adjust the audio levels from straight in OBS as well as stop/start it as I please. However no link with my playlist that I can find autoplays the playlist, on shuffle. I have to click play manually every time which needless to say would be quite cumbersome. I've tried searching around but only have ran into unrelated issues like now playing not being available when using it via a browser source. For extra information I am on Arch Linux, specifically EndeavorOS, so if there's some sort of app that can handle this for me, I'll report if it works on my machine first.

1 reply

Browsers now restrict autoplaying of audio from windows in certain situations. Because of this, we require users to interact with the player at least once, which seems to convince browsers to allow audio from the player moving forward.