JohnTheGr8 / Wox.Plugin.Spotify

Spotify plugin for Wox launcher
MIT License
31 stars 7 forks source link

Spotify not running, using windows store version, and there's no option to 'open weblinks in app' #17

Open ghost opened 6 years ago

ghost commented 6 years ago

Issue Description

I am using the version 1.0.87.491.ge2a121fc (Windows Store version)

[ please describe the issue you're having here ]

When I run wox sp I get the following;

In the docs it mentions to

Make sure your local Spotify client has Allow Spotify to be opened from the web turned on, otherwise the plugin will inform you that Spotify is not running.

You can find this option in Preferences > Startup and Window Behaviour.

But the windows store version (I think the only windows version now) does not support this feature

Functionality Affected

Please mark the functionality of the plugin that is affected by the issue:

Software Versions

Spotify: 1.0.87.491.ge2a121fc (Windows Store version) Windows 10 latest insider build

oliverulerich commented 6 years ago

I have the same problem as @filtration . Spotify installed from the exe package downloaded from spotify.com Also I have to mention that I've changed the default installation dir (outside Program Files or App Data) version 1.0.87.491.ge2a121fc (the same as the Windows Store ver)

tradjick commented 6 years ago

Same problem as those above

Simmetopia commented 6 years ago

I have the same problem as above. Is there a workaround?

AustinDoolittle commented 6 years ago

This looks like it is due to the change in the Spotify authentication flow #6. Looks like the original dev mentioned using the Authorization Code Flow to avoid having the user sign in every couple of days. This would require a continuous running process that refreshes the access token. I think the Implicit Grant Flow would be the way to go. Sure, it would require the user to sign in once and a while, but it would take a lot of complexity out of the authorization process flow and would increase security. @JohnTheGr8 How would you feel about taking this route instead? I can crank it out this weekend, with your blessing of course.

mgutbor commented 5 years ago

Please @JohnTheGr8 or @AustinDoolittle : help us to solve this problem with this brilliant plugin for wox.

MathieuDR commented 5 years ago

Any news on this. It's indeed removed

AustinDoolittle commented 5 years ago

Sorry for the late response. After doing some research, I really don't have a clear path forward as to how we could perform Spotify's Authorization Flow from a desktop application. It's possible to trigger the opening of a browser to the authentication page, but capturing the redirect url isn't possible (unless we were to bake in a web browser to Wox). Unless anyone else has any ideas, I think this is dead.

MathieuDR commented 5 years ago

Without any knowledge of the process, can't we just send requests and read the responses through normal request and through standard C#?

mortensassi commented 4 years ago

Alternatively you could install the Wox.SpotifyPremium - works on my side!