i've also created a .NET interface with C# and VB.NET code samples. See the first post for links
For the C++ interface, I needed to change the Initialise function to take the musicbee api as a pointer, so please get the latest source code, replace MusicBeeInterface_1_0.h, and edit the Initialise function:
PluginInfo* Initialise(MusicBeeApiInterface* apiInterface)
You will also need the updated MusicBee.exe
I created 2 new API calls:
- NowPlaying_GetFileProperty(FilePropertyType type)
- NowPlaying_GetFileTag(MetaDataType type)
which differ from the Library_ API in that the files dont need to be in the library eg. the current playing track from a radio stream
Going forward, any new API calls will be versioned and wont require you to update your plugin