OBS
widget for displaying the current song from Nightbot
.
- NightBot app installed.
- OBS app installed.
- Prepare the Folder.
- Go to the
Documents/Nightbot
folder or paste the following in path bar:%USERPROFILE%\Documents\Nightbot
. - If the
Nightbot
app is installed, you should see a file namedcurrent_song.txt
here.
- Download & Place Project Files.
- Download the project as a zip file, extract it, and move all files into the
Documents\Nightbot
folder. - Ensure that
song.html
is in the same directory level ascurrent_song.txt
. ⚠️ Move all other project files and folders here too.
- Add Widget to
OBS
.
- Open
OBS
and navigate toSources
>Add
(or press the+
sign) >Browser
. - Name the new browser source something like
Current Song Nightbot
. - Enable
local file
✅ - Click
Browse
& Paste to path bar%USERPROFILE%\Documents\Nightbot
then choosesong.html
file. - (Optional) For a
720p
layout, set the height to50
. - Click
ok
to save.
- Test it.
- The widget should now display the current song in OBS.
You can customize settings in song_settings.js
:
theme
: Choose one of the following themes:regular
,camo
,blood
,halloween
,winter
orpink
.
textSize
{string
}: Define font size.scrollSpeed
{integer
}: Adjust text scrolling speed, in seconds.maxTitleLength
{integer
}: Set max title length before truncation.enableCleanTitle
{boolean
} Set totrue
to clean up tags such as(Official Music Video)
, and standardize phrases likefeat.
toft.
andproduced by
toprod.
.enableBackgroundShadow
{boolean
} (true
/false
): Add a background shadow by setting totrue
.refreshTime
{integer
}: Set interval (in seconds) to check if the song has changed on harddrive.
Current Song Nightbot
and click Refresh cache of current page
to apply changes.