Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search not working #43

Closed
xiaozhangup opened this issue Dec 1, 2024 · 8 comments
Closed

Search not working #43

xiaozhangup opened this issue Dec 1, 2024 · 8 comments

Comments

@xiaozhangup
Copy link

I am experiencing an issue with the PowerToys Run Spotify plugin. The search functionality behaves inconsistently — sometimes it returns results as expected, but other times it does not return any results at all.
image
image

image
image

@waaverecords
Copy link
Owner

Most likely a Spotify API issue.

@waaverecords
Copy link
Owner

You can also check logs for more information.

They should be located at.
%LocalAppData%\Microsoft\PowerToys\PowerToys Run\Logs

@xiaozhangup
Copy link
Author

xiaozhangup commented Dec 1, 2024

You can also check logs for more information.

They should be located at. %LocalAppData%\Microsoft\PowerToys\PowerToys Run\Logs

`[2024-12-01 22:12:42.9129] [ERROR] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\Plugin\PluginManager.cs::240]
-------------------------- Begin exception --------------------------
Message: Exception for plugin when query

Exception full name : System.NullReferenceException
Exception message : Object reference not set to an instance of an object.
Exception stack trace:
at PowerToys_Run_Spotify.Main.b__24_3(SimplePlaylist playList) in C:\Users\m_sno\PowerToys-Run-Spotify\Main.cs:line 187
at System.Linq.Enumerable.SelectListIterator2.MoveNext() at System.Collections.Generic.List1.AddRange(IEnumerable`1 collection)
at PowerToys_Run_Spotify.Main.Query(Query query) in C:\Users\m_sno\PowerToys-Run-Spotify\Main.cs:line 187
at PowerLauncher.Plugin.PluginManager.<>c__DisplayClass23_0.b__0()
at Wox.Infrastructure.Stopwatch.Debug(String message, Action action)
at PowerLauncher.Plugin.PluginManager.QueryForPlugin(PluginPair pair, Query query, Boolean delayedExecution)
Exception source : PowerToys-Run-Spotify
Exception target site: Wox.Plugin.Result b__24_3(SpotifyAPI.Web.SimplePlaylist)
Exception HResult : -2147467261
-------------------------- End exception --------------------------

@xiaozhangup
Copy link
Author

Seems to be an issue with the plugin?

Repository owner deleted a comment from xiaozhangup Dec 1, 2024
@waaverecords
Copy link
Owner

waaverecords commented Dec 1, 2024

Seems like the Spotify API changed.

JohnnyCrazy/SpotifyAPI-NET#1012

Will look into it later.

@waaverecords waaverecords changed the title Search Results Not Consistently Displayed Search not working Dec 1, 2024
@xiaozhangup
Copy link
Author

Are you planning to create multilingual support? I can provide the Chinese translation

@SwastikGorai
Copy link

Spotify did change its API terms, now it will be restricting access to third-party 😢

@waaverecords
Copy link
Owner

Fixed in v0.86.0-2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants