mkloubert / vs-media-player

Visual Studio Code extension to control media players like Spotify or VLC directly from the editor.
MIT License
29 stars 5 forks source link

[vs-media-player] Spotify send no (valid) code! #11

Open lucasfernandes4472 opened 6 years ago

lucasfernandes4472 commented 6 years ago

Hi, I'm trying to do integration with the extension, when access to the redirect url displays the following message: Your account has been authorized with Spotify. You can close that browser / tab now, but when you access the visual code, it displays the following message at the top: [vs-media-player] Spotify send no (valid) code!

mkloubert commented 6 years ago

@lucasfernandes4472

Do you have spotify premium?

lucasfernandes4472 commented 6 years ago

@mkloubert yes

mkloubert commented 6 years ago

@lucasfernandes4472

What is the URL in your browser after the message Your account has been authorized with Spotify...`` has been displayed?

lucasfernandes4472 commented 6 years ago

@mkloubert I am using localhost as the authorization URL.

mkloubert commented 6 years ago

What are the names of the query parameters which are submitted? Are there values which are empty?

lucasfernandes4472 commented 6 years ago

@mkloubert the parameters configured on the object are clientID, clientSecret, redirectURL

PDS42 commented 6 years ago

I'm having this issue too on ubuntu. I got the authorized message after visiting the redirect url, then [vs-media-player] Spotify send no (valid) code!. Any known issue ? Do you need additional infos ?

ashnikel commented 6 years ago

Same problem. Message "Your account has been authorized with Spotify". There is no requests/confirmations before this message.

diasgui commented 5 years ago

Same problem here...

lucasfernandes4472 commented 5 years ago

Any news?

mkloubert commented 5 years ago

Sorry for the late answer ... I have tested the Spotify integration and I found out, that some feature like selecting a track from the bottom bar do not work anymore. But downloading lists or searching songs do work.

The authorization process itself also works for me.

I will have a deeper look on that. I am not sure if that has something to do with API changes in VSCode, Spotify Web API or both.

PDS42 commented 5 years ago

Cheers @mkloubert ! Please keep us updated on this topic, I would love to be able to select tracks through the bottom bar :) Thanks for the package nonetheless!