Insert the song you are playing
There is no direct way to get the played title into OBS. (there is the possibility to capture the window title, but that's ugly and pretty unforeseeable with long song-titles)
One possible way is to read the Window title out of the process and cut out the «osu! -». The most usable solution would be a little helper program. A very safe (in terms of no side-effects/extra requirement) way is to do this per AutoHotkey script. Go there and download it. Make a file with Notepad and insert the following code.
F10::pause
F11::reload
!s::
{
YourPath = D:\Games\osu!\
loop {
sleep, 5000
WinGetTitle, ActiveTitle, osu!
StringTrimLeft, ActSong, ActiveTitle, 8
filedelete, %YourPath%actualSong.txt
if ActiveTitle = osu!
{
fileappend, Selecting song..., %YourPath%actualSong.txt
}
else
{
fileappend, +++++ Now playing: %ActSong%,%YourPath%actualSong.txt
}
}
}
Change "YourPath" to your osu! folder, or any other location you want. Save the File as "OsuTitleToFile.ahk". This Script remaps your "F10" key to pause the script and the "F11" key to reload the script. If you are using those keys in osu!, you can change it as you may. Start the script by dbl click it out of the explorer. With pressing Alt+s (!s::) you start the script and it writes the actual used title every 5 seconds in the specified file. (In this Version in D:\Games\osu!\actualSong.txt) Now go to your OBS and add a text to your scene. Use this file as source. The text itself will change every time the file got changed. You can also make it a marquee and use borders to make it more visible. Just experiment with it