Rigellute / spotify-tui

Spotify for the terminal written in Rust 🚀
MIT License
17.39k stars 521 forks source link

Song lyrics #122

Open Bios-Marcel opened 4 years ago

Bios-Marcel commented 4 years ago

Back when I started using Spotify, they had a collaboration with some service that provides lyrics for songs, including the timings and such. However, due to some dumb reason, they stopped collaborating and lyrics were completely removed from Spotify. Honestly, this was one of my favourite features, since I like to sing along to whatever I listen to. Being able to read the text and sing along while being able to keep up the speed makes memorizing easier as well. I'd love to see spotify-tui providing this feature. Maybe without the "karaoke" mode that shows you which part of the lyrics is being sung, since that's overkill :D

I assume finding data for this is easy, not whether most pages offer an API that's free to use though. I can do some research if people like the idea of this feature.

luiswirth commented 4 years ago

Spotify is still somewhat collaborating with Genius, a service which provides lyrics and insights for a huge collection of songs. On the mobile app they provide insight to the currently playing song. I have never had problems finding lyrics using it. Since Genius does provide an API, it might be a good candidate for integrating lyrics into spotify-tui.

joaoeudes7 commented 4 years ago

Any possibility in integrate musixmatch?

d-costa commented 4 years ago

Sadly the musixmatch only provides 30% of the lyrics on the free tier. https://developer.musixmatch.com/plans

joeyism commented 3 years ago

There are scripts out there that uses genius API + spotify (https://github.com/willamesoares/lyrics-crawler/blob/master/get-lyric.py#L31, https://gist.github.com/ravimalde/8ef7ad9630bd16f24ab28bc370caf9a5#file-lyric_scraper-py-L31) so I don't see a reason why it wouldn't work

raitonoberu commented 2 years ago

I've created an app that shows time-synced lyrics from Spotify in your terminal. The lyrics are extracted from internal web APIs, that's why you have to set your cookie.

github.com/raitonoberu/sptlrx

beabout commented 2 years ago

Now that lyrics have been brought back to Spotify in recent months, there is surely a way to integrate lyrics into the terminal interface even if they aren't time-synced.

arthurnunesc commented 2 years ago

That would surely be a great feature.