ShyykoSerhiy / vscode-spotify

Use Spotify inside vscode(on Mac, Windows, and Linux).
https://marketplace.visualstudio.com/items/shyykoserhiy.vscode-spotify
MIT License
606 stars 74 forks source link

Play|Pause Problems #175

Closed renatocfrancisco closed 1 year ago

renatocfrancisco commented 2 years ago

Most of the time, when i click the Play|Pause Button, it says "Player command failed: Restriction violated - reason: UNKNOWN". Or it says, please "Log In" in Spotify, even though, the player is open and already logged on. This is a problem with and without the Spotify Window opened.

Code_8On1TUMlmE

Aside this annoyance, i think vscode-spotify is cool. I wish there was a YT Music Extension (it exists).

invisi-splat commented 2 years ago

I also have this problem - though I think it might be a rate-limit from Spotify if you try to pause/unpause too fast. Perhaps an internal timeout within the extension would fix this.

Here's a copyable version of the error message:

vscode-spotify: Failed to perform operation Unknown error: status code403 ; {
  "error" : {
    "status" : 403,
    "message" : "Player command failed: Restriction violated",
    "reason" : "UNKNOWN"
  }
}