waaverecords / PowerToys-Run-Spotify

Search and control Spotify from PowerToys Run.
MIT License
179 stars 12 forks source link

How is it supposed to work? #2

Closed AlejandroSuero closed 9 months ago

AlejandroSuero commented 9 months ago

Now that the command is working, with the Spotify app or the Spotify player in the browser, neither of the songs adds to the queue nor do they play.

So my question is, how is it supposed to work exactly?

I have Premium so that shouldn't be the problem according to the README.md

At the right is the Spotify app and at the left side is browser player, neither of them are playing or adding to the queue

sp-not-working

matheustenedini commented 9 months ago

Same here.

I get the following error:

-------------------------- Begin exception --------------------------
Message: Exception for plugin <Spotify> when query <sp>

Exception full name  : System.ArgumentException
Exception message    : String is empty or null (Parameter 'query')
Exception stack trace:
   at SpotifyAPI.Web.Ensure.ArgumentNotNullOrEmptyString(String value, String name)
   at SpotifyAPI.Web.SearchRequest..ctor(Types type, String query)
   at PowerToys_Run_Spotify.Main.Query(Query query) in C:\Users\m_sno\PowerToys-Run-Spotify\Main.cs:line 96
   at PowerLauncher.Plugin.PluginManager.<>c__DisplayClass23_0.<QueryForPlugin>b__0()
   at Wox.Infrastructure.Stopwatch.Debug(String message, Action action)
   at PowerLauncher.Plugin.PluginManager.QueryForPlugin(PluginPair pair, Query query, Boolean delayedExecution)
Exception source     : SpotifyAPI.Web
Exception target site: Void ArgumentNotNullOrEmptyString(System.String, System.String)
Exception HResult    : -2147024809
-------------------------- End exception --------------------------
AlejandroSuero commented 9 months ago

Right now is not showing result after typing sp lofi for example

AfzalArfan commented 9 months ago

same issue it doesn't play or does any thing just view everything but doesn't work.

waaverecords commented 9 months ago

Working on it. It has to do with what the Spotify API deems the active device.

waaverecords commented 9 months ago

Commit ea1e5cb ensures there is an active device on each player control request. If no active device is found, the Spotify application is opened, deeming your computer as active device,

This is will be in the next release.

Thanks for your input on the plugin 🙏

waaverecords commented 9 months ago

Release addressing this.

https://github.com/waaverecords/PowerToys-Run-Spotify/releases/tag/v0.77.1

AfzalArfan commented 9 months ago

how is it supposed to work as soon as i hit enter nothing happens no player appears nothing happens just few seconds of loading and nothing happens.


From: Michael Nadeau @.> Sent: Monday, January 22, 2024 2:08 AM To: waaverecords/PowerToys-Run-Spotify @.> Cc: Afzal Arfan shaik @.>; Comment @.> Subject: Re: [waaverecords/PowerToys-Run-Spotify] How is it supposed to work? (Issue #2)

Closed #2https://github.com/waaverecords/PowerToys-Run-Spotify/issues/2 as completed.

— Reply to this email directly, view it on GitHubhttps://github.com/waaverecords/PowerToys-Run-Spotify/issues/2#event-11549891990, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOU573SQMXR34F5TZE5R2UDYPV4FFAVCNFSM6AAAAABB76UCVSVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGU2DSOBZGE4TSMA. You are receiving this because you commented.Message ID: @.***>