Command to return current playing track name from foobar2000/Spotify?

Hi, I have been searching for how to create a custom command such as “!song” or “!track” for listeners to use on YouTube chat, so that Nightbot will return the currently playing track name. All I found was a similar command “!songs” which is related to the AutoDJ, which is not used in this case. A few examples of what I meant with this command from these streams:


https://www.youtube.com/watch?v=2zwlymUyVJo (this one even have a “!love” command to show how many people liked a track, if possible I’d like to know how to make that too!)
https://www.youtube.com/watch?v=5-YF7ldLw4E

PS. I’m currently using foobar2000 music player.

Sorry if there is already a guide available, but I couldn’t find anything related. Would be a big help to get some insights on this!

These are probably accomplished through the Nightbot API, which can give a lot of control outside of default Nightbot functionality.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.