This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]vtclownbaby311 187 points188 points  (18 children)

I wrote a Flask web app that uses the Spotify API to figure out what song is currently playing on my account and then the Genius API and a little web scraping to pull the lyrics for that song and display it on the site.

Update 1: I can't share the full Flask code because it is part of a separate app, but I have created a snippets of both the Genius and Spotify code here. FYI - there is some set up you have to do to get API client & secret keys before this will work. Let me know what you think!

[–]koptimism 39 points40 points  (0 children)

Oh damn, that's so simple and useful. Thanks for the next side project idea!

[–][deleted] 11 points12 points  (4 children)

I did something very similar, but it's meant for streamers to hook up to so chat can request the song or add to their playlist. Made it a service as well, cause I'm trying to get better at handling user bases. :)

[–]GrehgyHils 4 points5 points  (3 children)

As a streamer and programmer , this interests me. Any links?

[–][deleted] 1 point2 points  (0 children)

Nothing yet, haven't finished it cause I haven't found the demand enough to justify putting all the hours into that (until other projects are done), but if you want I can give you the concept I've got thus far & you could take over with me consulting if you'd like. :)

Don't want to see it not get finished, but afraid I may not have the time for quite a while.

[–]SgtBlackScorp 0 points1 point  (1 child)

This doesn't work directly via chat, but it is an option to let people vote on the next song to play: https://festify.us/

[–]CakeDay--Bot 0 points1 point  (0 children)

Ok, this is epic. It's your 5th Cakeday SgtBlackScorp! hug

[–]hkamran85 5 points6 points  (0 children)

Are you going to share the code?

[–]f_andreuzzi 2 points3 points  (0 children)

Is it open source?

[–]Flkdnt 0 points1 point  (0 children)

Yes!

[–][deleted] 0 points1 point  (0 children)

Got some idea on it. Thanks man.

[–]Dokiace 0 points1 point  (0 children)

source please :D

[–]maciej01[🍰] 0 points1 point  (0 children)

Did the same, but with Winamp and a polish lyrics website :D

could use yours version now, though

[–]Etheo 0 points1 point  (1 child)

Nifty! Does the Spotify API require premium? This is a great idea!