waaverecords / PowerToys-Run-Spotify

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

Plugin does not work with PowerToys 0.79 #18

Closed Durus-R closed 8 months ago

Durus-R commented 8 months ago

It does show me the error "Fail to load plugin: Spotify"

I looked in the log and found the follwing entry:


[2024-03-05 10:37:28.8841] [ERROR] [C:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::191]
-------------------------- Begin exception --------------------------
Message: Can't find class implement IPlugin for <Spotify> in C:\Users\smart\AppData\Local\Microsoft\PowerToys\PowerToys Run\Plugins\PowerToys-Run-Spotify\PowerToys-Run-Spotify.dll

Exception full name  : System.InvalidOperationException
Exception message    : Sequence contains no matching element
Exception stack trace:
   at System.Linq.ThrowHelper.ThrowNoMatchException()
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at Wox.Plugin.PluginPair.CreatePluginInstance()
Exception source     : System.Linq
Exception target site: Void ThrowNoMatchException()
Exception HResult    : -2146233079
-------------------------- End exception --------------------------```
waaverecords commented 8 months ago

Known.

Used Dlls just need to be updated to work with v0.79.0.

I'll do it later tonight.

waaverecords commented 8 months ago

Fixed in https://github.com/waaverecords/PowerToys-Run-Spotify/releases/tag/v0.79.0.

Durus-R commented 8 months ago

Great! It's working now also for me. Have a nice day!