brentvollebregt / spotify-lyrics-viewer

View the lyrics of the current playing Spotify song in your browser
https://spotify-lyrics-viewer.nitratine.net/
44 stars 7 forks source link

Strange lyrics from API for Song #37

Open CarltheSpiny opened 3 months ago

CarltheSpiny commented 3 months ago

Using the lyric viewer as I was casually listening through a playlist, a song that doesn't have lyrics returned these suggestive lyrics: [https://spotify-lyrics-viewer.onrender.com/api/lyrics?title=Ice+Mountain%3A+Lap+Music&artists=SEGA+SOUND+TEAM&artists=Hyper+Potions&artists=Jun+Senoue&albumName=MAXIMUM+OVERDRIVE+-+TEAM+SONIC+RACING+ORIGINAL+SOUNDTRACK&duration=216346]

A little troubling but not project breaking. Not sure if this is an API issue or a viewer issue and I could not find a place to report this on the API.

The original song: https://open.spotify.com/track/1EjEVr5STNNt8SBiKazVNe?si=f16d1c47902145ac

brentvollebregt commented 3 months ago

At the bottom-left of the lyrics the page shows where the lyrics came from; for this song, it matched this Genius page.

Spotify tracks are not directly linked with the lyric sources, so we have to search for the lyrics by the title, artists and duration - which can be unreliable sometimes. The fact that these songs have no lyrics means there is a good chance of something else being picked up.

In terms of reporting this, this repo is where we attempt to link the lyrics to the current song. I'm open to code changes that can improve the track and lyric matching process.