cli icon indicating copy to clipboard operation
cli copied to clipboard

Synced Lyrics no do not work after playing song with no lyrics

Open znicuuu opened this issue 5 years ago • 44 comments

ℹ Computer information

  • Spotify version: 1.1.68.632.g2b11de83
  • Spicetify version: 2.6.4

✔️ Expected result

popupLyrics showing lyrics normally

❌ Actual result

popupLyrics saying theres no lyrics for every song

📷 Screenshots

image

znicuuu avatar Sep 23 '21 15:09 znicuuu

Can you see if 2.6.5 fixes this for you?

itsmeow avatar Sep 23 '21 23:09 itsmeow

Please run spicetify upgrade and then spicetify restore backup apply to check if it fixes it. But actually, first can you test with a more known music? I can suggest Planet B - King Gizzard and the Lizard Wizzard

afonsojramos avatar Sep 24 '21 09:09 afonsojramos

Please run spicetify upgrade and then spicetify restore backup apply to check if it fixes it. But actually, first can you test with a more known music? I can suggest Planet B - King Gizzard and the Lizard Wizzard

If you play some songs without lyrics and play songs with lyrics again, it says there are no lyrics. This is the same in lyrics-plus.

Lseoksee avatar Sep 24 '21 10:09 Lseoksee

@Lseoksee tested it myself, you are right! I'll investigate further!

afonsojramos avatar Sep 24 '21 10:09 afonsojramos

I cannot reproduce this myself. Playing a song with no lyrics then playing another, it still works. On 2.6.6.

itsmeow avatar Sep 26 '21 21:09 itsmeow

Even in 2.6.6 there is definitely a bug with the popuplyrics extension. Below 4 examples of popular songs where it just showed "No lyric". I had it working moments ago but after a few songs without lyrics it just shows "No lyric" for all songs.

BugSpicetify

UPDATE: As pictured below, after restarting spicetify it works again for the same songs.

BugSpicetifyv2

And again after playing a song where there are no lyrics available, I get the "No lyric" for the same 4 songs again (see screenshot 1).

Spotify version = 1.1.68.632.g2b11de83 Spiceify version = 2.6.6

AntServiceApps avatar Sep 26 '21 22:09 AntServiceApps

Is there any output in the console?

itsmeow avatar Sep 26 '21 22:09 itsmeow

Is there any output in the console?

My console looks like this:

vendor~xpui.js:1 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
vendor~xpui.js:1 MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 change listeners added. Use emitter.setMaxListeners() to increase limit
    at c (https://xpui.app.spotify.com/vendor~xpui.js:29:2353172)
    at t.o.addListener (https://xpui.app.spotify.com/vendor~xpui.js:29:2355454)
    at https://xpui.app.spotify.com/vendor~xpui.js:29:2048746
    at Pa (https://xpui.app.spotify.com/vendor~xpui.js:29:2595327)
    at As (https://xpui.app.spotify.com/vendor~xpui.js:29:2619179)
    at t.unstable_runWithPriority (https://xpui.app.spotify.com/vendor~xpui.js:29:2793496)
    at hi (https://xpui.app.spotify.com/vendor~xpui.js:29:2564835)
    at ks (https://xpui.app.spotify.com/vendor~xpui.js:29:2618958)
    at Os (https://xpui.app.spotify.com/vendor~xpui.js:29:2603729)
    at vs (https://xpui.app.spotify.com/vendor~xpui.js:29:2602651)
    at https://xpui.app.spotify.com/vendor~xpui.js:29:2565107
    at t.unstable_runWithPriority (https://xpui.app.spotify.com/vendor~xpui.js:29:2793496)
    at hi (https://xpui.app.spotify.com/vendor~xpui.js:29:2564835)
    at yi (https://xpui.app.spotify.com/vendor~xpui.js:29:2565052)
    at vi (https://xpui.app.spotify.com/vendor~xpui.js:29:2564987)
    at Es (https://xpui.app.spotify.com/vendor~xpui.js:29:2603150)
    at rl (https://xpui.app.spotify.com/vendor~xpui.js:29:2629563)
    at render (https://xpui.app.spotify.com/vendor~xpui.js:29:2632674)
    at https://xpui.app.spotify.com/xpui.js:1:1034228
vendor~xpui.js:1 
Object
DevTools failed to load source map: Could not load content for https://xpui.app.spotify.com/vendor~xpui.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED
DevTools failed to load source map: Could not load content for https://xpui.app.spotify.com/xpui.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED
DevTools failed to load source map: Could not load content for https://xpui.app.spotify.com/22.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED
DevTools failed to load source map: Could not load content for https://xpui.app.spotify.com/xpui-desktop-modals.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED
DevTools failed to load source map: Could not load content for https://xpui.app.spotify.com/xpui-routes-playlist.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED
DevTools failed to load source map: Could not load content for https://xpui.app.spotify.com/service-worker.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED


​

AntServiceApps avatar Sep 27 '21 11:09 AntServiceApps

I mean, I don't think those are the culprits as it is just failing to load the source map. Other than those warnings, when skipping songs only the normal Sets show up. image

afonsojramos avatar Sep 27 '21 11:09 afonsojramos

All of you with this issue, have you retrieved your own musixmatch token, or are you using the embedded one? Try getting your own again (as per wiki instructions https://github.com/khanhas/spicetify-cli/wiki/Musixmatch-Token). Does that fix it? You can set the token in the popup config by right clicking popup icon. You can set it in lyrics-plus as well by clicking the user profile menu and pressing "Lyrics Plus config".

itsmeow avatar Sep 28 '21 00:09 itsmeow

I used the embedded one before. Just got my own and it unfortunately it does not fix the issue.

Popup Lyrics works until I'm playing a few songs without lyrics, I can however confirm it is not always the first song without lyrics that triggers the extension to stop working. Perhaps an issue with local files?

AntServiceApps avatar Sep 28 '21 22:09 AntServiceApps

I also have the same issue and well something else relating to the pop ul lyrics as well, the pop up lyrics sometimes closes by themselves when a song ends and this happens when there is a long instrumental part in the songs without any lyrics it closes by itself.

shallowswimmer avatar Sep 30 '21 12:09 shallowswimmer

I found the culprit! It's a captcha response from musixmatch. I changed some of the error debug outputs in popupLyrics. image

Your token is getting automatically filtered as being "bot-like" for making invalid/too many requests.

itsmeow avatar Sep 30 '21 23:09 itsmeow

so what should we do to solve this? sorry I'm kinda not that well versed with the technical aspects as yall guys so can yall please help me

shallowswimmer avatar Oct 01 '21 13:10 shallowswimmer

I also have the same issue and well something else relating to the pop ul lyrics as well, the pop up lyrics sometimes closes by themselves when a song ends and this happens when there is a long instrumental part in the songs without any lyrics it closes by itself.

Can you confirm this after updating 2.7.0? I fixed an issue like this in my PR @shallowswimmer

itsmeow avatar Oct 01 '21 19:10 itsmeow

I also have the same issue and well something else relating to the pop ul lyrics as well, the pop up lyrics sometimes closes by themselves when a song ends and this happens when there is a long instrumental part in the songs without any lyrics it closes by itself.

Can you confirm this after updating 2.7.0? I fixed an issue like this in my PR @shallowswimmer

It seems to be better than before, but the problem still hasn't been completely solved. If you switch several songs quickly, you will get an error. Desktop Screenshot 2021 10 02 - 09 31 57 59 Desktop Screenshot 2021 10 02 - 09 27 43 91

Lseoksee avatar Oct 02 '21 00:10 Lseoksee

@Lseoksee There's nothing that can be done about that part, I was specifically addressing the "randomly closing itself" error. That seems to be caused by musixmatch implementing anti-spam measures. Maybe we could add a way to submit captchas, but I'm not sure how that even works.

itsmeow avatar Oct 02 '21 02:10 itsmeow

Can anyone who has updated also verify what error they are getting in the console now? I changed the error handling to be more descriptive.

itsmeow avatar Oct 02 '21 02:10 itsmeow

Can anyone who has updated also verify what error they are getting in the console now? I changed the error handling to be more descriptive. image These are the errors I get in console.

znicuuu avatar Oct 02 '21 11:10 znicuuu

After spamming songs where I know there won't be lyrics available (new songs in other languages) I could replicate the bug, my console looks like this.

Knipsel

At the point where the pop-up-lyrics-request errors appear PopupLyrics screen is already frozen and doesn't update upon changing songs.

Feel free to ask more details, I don't really know how most of this works but I'd like to help you find what you're looking for.

AntServiceApps avatar Oct 02 '21 11:10 AntServiceApps