sptlrx icon indicating copy to clipboard operation
sptlrx copied to clipboard

Lyrics API not responding?

Open duckyondiscord opened this issue 1 year ago • 10 comments

For about a week now, no lyrics have showed up in sptlrx, just blank, then I took a look at the output of curl -G "https://lyricsapi.vercel.app/api/lyrics?lrc=1" --data-urlencode "name=$(playerctl metadata --format '{{artist}} {{title}}')" as suggested by your comment in another issue, and it just returns nothing.

duckyondiscord avatar Oct 23 '23 17:10 duckyondiscord

image There is indeed a song playing here that sptlrx previously displayed the lyrics for.

duckyondiscord avatar Oct 23 '23 17:10 duckyondiscord

Hello, @duckyondiscord! Sorry for the inconvenience, the problem is that Spotify cookies on a public server tend to expire at a random time (or even reset my password due to suspicious activity xD). Sometimes after 3 months, sometimes after 30 days. But I swear I updated it like 3 days ago and it broke again. It's easy to fix but it takes time just to find out that it doesn't work.

Thank you for reporting, it should be working now. Let's leave this open and pin it so that anyone can report here next time.

raitonoberu avatar Oct 23 '23 18:10 raitonoberu

Hello, @duckyondiscord! Sorry for the inconvenience, the problem is that Spotify cookies on a public server tend to expire at a random time (or even reset my password due to suspicious activity xD). Sometimes after 3 months, sometimes after 30 days. But I swear I updated it like 3 days ago and it broke again. It's easy to fix but it takes time just to find out that it doesn't work.

Thank you for reporting, it should be working now. Let's leave this open and pin it so that anyone can report here next time.

~~I'm using MPRIS and it's still not working for me :/~~ Nevermind that one was my fault :p

duckyondiscord avatar Oct 24 '23 13:10 duckyondiscord

i have the same issue. i even compiled the api only, and used my own cookie, but it still doesnt work: image image

devlocalhost avatar Nov 18 '23 10:11 devlocalhost

This is strange because the API is currently working fine. Is there any lyrics for this track on Spotify? (sorry, I can't check it myself)

raitonoberu avatar Nov 18 '23 13:11 raitonoberu

This is strange because the API is currently working fine. Is there any lyrics for this track on Spotify? (sorry, I can't check it myself)

i tried with another track and it works. maybe make it a bit more obvious?? like, a message (that {track} does not contain lyrics), and maybe add api docs?

devlocalhost avatar Nov 18 '23 14:11 devlocalhost

i have the same issue. i even compiled the api only, and used my own cookie, but it still doesnt work: image image

this track does have lyrics on genius.com btw.

devlocalhost avatar Nov 18 '23 14:11 devlocalhost

The same issue is happening again for me @raitonoberu Sorry to bother you.

duckyondiscord avatar Mar 21 '24 19:03 duckyondiscord

@duckyondiscord no worries, I'd like to know if there are problems that I can fix. right now the api seems to be working fine, what is your problem?

raitonoberu avatar Mar 21 '24 19:03 raitonoberu

Tested it again today, now it works, must've been a one-time issue, sorry for the noise.

duckyondiscord avatar Mar 22 '24 19:03 duckyondiscord