You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2025. It is now read-only.
When fetching lyrics for a track (which can take several seconds, even >10s sometimes), if we change the current playing track on Spotify, the new song may be reflected by getPlaybackState calls but will be reset when the getPlaybackLyrics request finishes. This will be corrected by the next getPlaybackState calls but is nonetheless quite annoying.
We should either:
prevent getPlaybackState requests while other requests haven't finished yet; or
allow getPlaybackState during getPlaybackLyrics but cancel the latter if it appears that the track changed in the meantime. We should then indeed trigger a new getPlaybackLyrics call for the new track.