DescriptionAs we all know some keyboard drivers like IntelliType don't play well with (global) media keys. I mainly created this plugin for my own use but decided to share it with everyone here. I have also included the source code for people to look at (and improve upon if they wish). The actual alternative method is to use low-level hooks instead of normal shell hooks to intercept the media keys before IntelliType (or other similar ones).
Known bugsIf MusicBee is stuck doing something (as in hard-locked) your keyboard keys may become unresponsive for about 10 seconds. (I tried to work around this problem by having the actual calls to MB asynchronous but apparently it stalls somewhere else).
Under normal conditions this should never happen.How to use1. Disable all media hotkeys from your keyboard settings
2. Disable all media keys from MusicBee Preferences -> Hotkeys
3. Extract the DLL to MusicBee\Plugins
4. Enable the plugin from MusicBee Preferences -> Plugins
DisclaimerI created this completely as a for-fun project and started without knowing much about Windows APIs at all and cannot really guarantee this code is the most optimal one or runs correctly on your computer. That said I have been running this for a month without any problems.
Download[.NET2] for MusicBee 1.4
Binary (most people want this):
http://daedalus.pingtimeout.net/rls/mb_alt_mediakeys/mb_alt_mediakeys_bin.zip[.NET4] for MusicBee 2
http://www.mediafire.com/?ju8rbwpdy5pnc64Source:
http://daedalus.pingtimeout.net/rls/mb_alt_mediakeys/mb_alt_mediakeys_src.zipIf you find any bugs feel free to report them. I will try to fix them myself if I can but I would prefer you suggest a fix yourself if you can
edit:
added .NET4 build