1
Plugins / Re: (Version 3.1) Spotify Integration Plugin
« on: November 24, 2022, 03:18:59 PM »Any time I play a track using this plugin, my MusicBee throws an error and then crashes.CodeMusicBee v3.4.7764.37422D (Win10.0), 6 Nov 2022 12:52:
System.NullReferenceException: Object reference not set to an instance of an object.
at MusicBeePlugin.Plugin.<ReceiveNotification>d__21.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_1(Object state)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Initially thought it was an incompatibility with another plugin, but this same error happens even when I clear both my C:\Program Files (x86)\MusicBee\Plugins folder and my %appdata%\MusicBee\Plugins folder and only install this one. Anyone have any idea how to fix this?
Same error here, the plugin maker kindly included the source files in the plugin download so I'm sure if they are too busy, one of us can suss this out. I'll take a look sometime myself too to see what's gone wrong but I'm more of a game programmer than a native plugin programmer. I disabled the plugin for now in my install of the Windows Store version.
For me the plugin didn't ever install or work properly until I installed this other spotify plugin first https://www.getmusicbee.com/addons/plugins/340/copy-spotify-url/
was something to do with EmbedIO.dll every time I tried to install, or the plugin couldn't access musicbeeplugin.plugin until I installed that other plugin first then tried to install spotify integration plugin by navigating to the mb_Spotify-Plugin.dll using the 'Add Plugin' button in MusicBee.