andrehaveman / spotify-node-applescript

Control Spotify on Mac OSX with NodeJS and AppleScript
MIT License
316 stars 38 forks source link

NO_ACTIVE_DEVICE error #45

Open gregdusoli opened 5 years ago

gregdusoli commented 5 years ago

After I've installed the extension and successfully logged in to my account, I receiving the following error when I tried to listen a music:

vscode-spotify: Failed to perform operation Unknown error: status code404 ; { "error" : { "status" : 404, "message" : "Player command failed: No active device found", "reason" : "NO_ACTIVE_DEVICE" } }

SpencerBWeber commented 4 years ago

This happened to me too

gregdusoli commented 4 years ago

Unfortunately, I've found a partial solution: opening the Spotify's app before running VSCode and keeping it opened during the using, the VSCode's plugin works fine... yes, I know that don't makes any sense, but... :/