Possible to unload a plugin from a plugin?
I would like to know if it's possible to tell Winamp to shut down a plugin from within another plugin's init function?
I have two version of a plugin, an ML one that should be used if the media library is installed, and a GEN one if the media library is installed.
As I can't seem to influence the order Winamp loads up plugins in, I thought I'd let it go ahead and load the GEN one, and if I further down the line find myself in the init function of the ML one, and the GEN is already loaded, I'd like to unload the GEN one and let the ML version load instead. If we never get to the init of the ML one, that means the media library is not installed and we let the GEN plugin do the work.
Is this possible?