musicbeeremote / mbrc-plugin

MusicBee Remote Plugin
http://mbrc.kelsos.net
Other
114 stars 13 forks source link

Unable to Add Plugin (v1.4.1) #92

Closed ryco117 closed 2 years ago

ryco117 commented 2 years ago

When using branches with versions ahead of master (which is at version 1.2.0 ) I am unable to add the Plugin to MusicBee, with the following error:

Unable to initialise plugin: mb_remote.dll
Could not load file or assembly 'file:///C:\Users\ryco117\AppData\Roaming\MusicBee\Plugins\mb_remote'
or one of its dependencies. An attempt was made to load a program with an incorrect format.

I'm using the Windows Store version of MusicBee, but other than that I do not know why the builds newer than 1.2.0 cannot be added as a plugin.

ryco117 commented 2 years ago

Seems to be a problem on my side caused uninstalling and trying to reinstall. Not related to version number

kelsos commented 2 years ago

Seems to be a problem on my side caused uninstalling and trying to reinstall. Not related to version number

Hey @ryco117 does this mean that you manage to figure out the cause and find a solution?

ryco117 commented 2 years ago

@kelsos Thanks for the reply; unfortunately not. I believed that I was unable to install either version number after uninstalling my first compilation. That was incorrect. The original issue that only v1.2.0 of mb_remote.dll will be successfully added still persists; I have yet to install v1.4.1 but have built and installed v1.2.0 several times

kelsos commented 2 years ago

OK I will have a look later today to see if I can figure anything out

ryco117 commented 2 years ago

@kelsos Fyi, I'm building v1.4.1 using branch v1-master . Let me know if there's anything that I can investigate to help; I have reasonable dotnet experience but am not familiar with the MusicBee plugin mechanism

kelsos commented 2 years ago

I did try to install the 1.4.1 zip via Add Plugin on the store version and it seems to work fine. Any chance there are any leftovers or something causing an issue?.

At least from what I can see the Plugin still goes to %appdata%\MusicBee\Plugins

ryco117 commented 2 years ago

@kelsos Thanks again for the feedback. For me, the relevant folder to clean ended up being C:\Users\ryco117\AppData\Local\Packages\50072StevenMayall.MusicBee_kcr266et74avj\LocalCache\Roaming\MusicBee\Plugins. After cleaning, I was able to install the v1.4.1 release zip properly. Cheers!

(As a side note, is there any reason the master branch is falling so far behind the client app and general support?)

kelsos commented 2 years ago

I am glad it works.

As for the situation with master, initially, my plan was to focus on v2 of the application and the plugin. All this work was merged into master with this in mind.

However, At some point the iOS application developer needed some API changes for his own app, and I needed some bugfixes and changes for Android. Since v2 was not ready, it was easier to fork v1.1.0 than trying to fix and test v2.