Wox.Plugin.Spotify icon indicating copy to clipboard operation
Wox.Plugin.Spotify copied to clipboard

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

Open ghost opened this issue 6 years ago • 9 comments

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:

  • [x ] Controlling the local Spotify client (changing track, pausing, skipping, muting)
  • [ x] Searching Spotify for albums, artists or songs

Software Versions

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

ghost avatar Aug 15 '18 20:08 ghost

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)

oliverulerich avatar Aug 21 '18 00:08 oliverulerich

Same problem as those above

tradjick avatar Aug 22 '18 01:08 tradjick

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

Simmetopia avatar Oct 01 '18 11:10 Simmetopia

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.

AustinDoolittle avatar Nov 01 '18 11:11 AustinDoolittle

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

mgutbor avatar Dec 05 '18 22:12 mgutbor

Any news on this. It's indeed removed

MathieuDR avatar Jan 30 '19 21:01 MathieuDR

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.

AustinDoolittle avatar Jan 30 '19 22:01 AustinDoolittle

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

MathieuDR avatar Jan 31 '19 18:01 MathieuDR

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

mortensassi avatar Jan 02 '20 21:01 mortensassi