tsoding / HyperNerd

Total Surveillance Automatic Ban Machine for Twitch and Discord
https://www.twitch.tv/tsoding
MIT License
145 stars 16 forks source link

There is no any !song command that would print the currently playing song #79

Closed rexim closed 6 years ago

rexim commented 6 years ago

The viewers ask that alot. Bots usually help with that.

rexim commented 6 years ago

Maybe we can integrate with last.fm

rexim commented 6 years ago

We could play YouTube video in an iframe of an HTML page. The bot could be running an HTTP server and the JavaScript on the HTML page could report the currently playing video to the bot through its HTTP server. The HTML page could be served by the bot's HTTP server as well.

rexim commented 6 years ago

Since we started to use dubtrack.fm we can utilize it's API. Checkout https://api.dubtrack.fm/room/tsoding: .data.currentSong

rexim commented 6 years ago

@ear since you said that you are interested in participating in the development of this bot you may find this issue interesting.

Should be quite trivial to implement. We already have everything in place for making HTTP queries and parsing JSON. The implementation should be similar to !ffz or !bttv commands.

Please, let me know if you wanna work on this.