Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This was the trick used by bots on Discord that played music (before they pretty much all got disallowed)

It would simply get the title from the Spotify API and then look it up on YouTube to play.

At some point I actually had set up a rather awful hack where I had a Discord bot that could play webradio and then pointed it towards my own Mopidy server which used the Spotify plugin to have a webpage such that multiple people could add songs and such. It was a great hack though I did not use it for long.



I don't understand why people are using Spotify to get data instead of Discogs?


This was just so people could give the bot a Spotify link.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: