mantou132 / Spotify-Lyrics

🎉 Desktop Spotify Web Player Instant Synchronised Lyrics
https://microsoftedge.microsoft.com/addons/detail/spotify-lyrics/aiehldpoaeaidnljjimhbojpblkbembm
843 stars 53 forks source link

Support Spotify's official lyric? #55

Open ccloli opened 3 years ago

ccloli commented 3 years ago

I noticed that Spotify now has lyric feature on web player, is it possible to use the official lyric api first? Since some songs are not using the same name as in NetEase music (Japan especially, some of them are using Roman as song name instead of Japanese if you're not in Japan).

URL: https://open.spotify.com/lyrics The URL will be available when playing song has lyric.

Snipaste_2020-10-12_10-36-02.png

API: https://spclient.wg.spotify.com/lyrics/v1/track/5MTcqelobfRlBHUwICBmAm?market=from_token You might need to pass Authorization header manually.

Snipaste_2020-10-12_10-36-22.png

VosMovok commented 3 years ago

I hope this is implemented somtimes in the future. Sometimes there's no lyrics from the extension source meanwhile the official has one. Bit of a bummer if it can't just fetch lyrics from the official api as it's already available on the web player.

yutotakano commented 2 years ago

I hope this is also taken a look at, following the global rollout of Spotify official lyrics. Since Spotify-Lyrics is able to inject custom functionality into the web player, I'm assuming it shouldn't be so difficult to grab the Authorization header as well. The endpoint still works, and contains timed lyrics in JSON format.

MisteryMonster commented 1 year ago

Why not retain the official lyrics button? It just works. Add extra menu to do the lyrics search when there is no lyrics available. I think is difficult to determine when to use lyrics search automatically.

SuperPat45 commented 2 months ago

Spotify official lyrics are now a premium feature... Thankfully, this plugin is a good alternative.

mantou132 commented 1 month ago

At present, the lyrics are only available in Premium users, but API is still available for the time being.

I consider implementing this feature. I wonder if there is risk to user accounts? Maybe the Spotify lyrics are not enabled by default?

mantou132 commented 1 month ago

This API does not appear to be available for newly released songs. For Premium users, maybe using a different API would work on all songs?

Screenshot 2024-05-19 at 13 11 34 Screenshot 2024-05-19 at 13 11 45