I know this topic hasn't been replied to in a few months, but since it is linked directly in the comment section of the tutorial and a lot of people seem to stumble upon this, I'm going to lift a little bit of the confusion fog that seems to be going around.
Those two version numbers are used by plugin developers to set a "failsafe" around a plugin.
What does that mean? Let's say your plugin uses a specific API call that has been implemented in version 3.0 of MusicBee, in that case your plugin can't work on versions prior to that, so when the plugin gets installed on one of those older versions it needs to be able to say "listen, I'm too new for you, I can't work". By setting MinInterfaceVersion to 36 and MinApiRevision to 48 (for the 3.0 example) you do exactly this, and that way your plugin will give the infamous message quoted in the first post instead of wreaking havoc or simply crashing.
What I described is when things go as planned, however sometimes one of 3 things happens (or at least I guess
):
- The API template project is accidentaly uploaded with pre-set version values that are too high compared to the latest MusicBee ones.
- MusicBee itself is released but the two version are accidentaly left a version behind, while the template gets updated correctly.
- While the above two reasons are probably the most common, it may be because of some bug with the version check, but I think this is very unlikely.
While the third one can only be fixed by Steven (if it ever happens...) you can easily make your plugin work in the first two cases by correctly setting the two versions to match the version of MusicBee you're using, which... uhm... ok maybe I'm blind but I can't find them anywhere
... maybe the About section would be a great place!
(
winking at you Steven
)
so... do you need to play a guessing game?
ABSOLUTELY NOT. Because I made a nice little plugin that shows a MessageBox at MusicBee startup with both the two versions of the MusicBee version you're running
And not only that but I set the minimum versions both to 1, so if for some god-only-knows-why reason you need the two values from an older version of MusicBee it will work fine as long as that version can call the Configure() method of the Plugin (if you don't know just try it and see if the message pops up...
).
(I'm not submitting a plugin page for such a dumb plugin so I'm putting the link here)
Download API Version InfoTO STOP THE MESSAGEBOX FROM APPEARING JUST DISABLE OR UNINSTALL THE PLUGIN