As I mentioned in another thread, I'm using EventGhost, a fantastic little application to react to all kinds of events - most importantly the input events generated by an infrared receiver - with macros ranging in complexity from selecting a predefined action from a plugin, up to scripting something in Python, using Python's Win32 API bindings.
MusicBee has given me a bit trouble in this regard. Focus management within musicbee seems to be a bit off at times (for example, input focus is "lost" when the alt key is pressed twice. try it: select a track, use up/down to select another; press alt to active the menu, press alt again to deactivate the menu; up/down no longer do anything, input focus was not returned), some elements aren't reachable via keyboard (e.g. the Now Playing list), and tabbing through elements isn't terribly safe in either case, since the UI - and thus tab order - can change easily. Now, my primary concern here is not using MusicBee with a keyboard; I'm perfectly happy with my mouse plus a few select hotkeys, but when controlling MB with a remote - or rather, feeding it simulated keystrokes -, the mouse centric UI means I can't even tell MusicBee to 1) clear Now Playing, 2) open the Auto-DJ and 3) start playing.
Hence, my wish is a facility that lets me control MusicBee's playback functions and a few select other things programmatically. This could be a TCP socket (ZoomPlayer does this, for instance), plain old DDE, some form of RPC or RMI... you name it (but K.I.S., please
). Through this interface, MusicBee may be given simple commands: stop, pause, play, play/pause, stop after current, restart current track, next, previous, skip, rewind,exit. Additionally, commands necessary to change what and how will be played: clear now playing, queue all listed tracks [last] (or start the Auto-DJ if it is shown), show Nth playlist, show library, set repeat on/off, set shuffle on/off, set shuffle settings. Finally, limited information may be queried through the interface: list available playlists.
This would make it relatively simple to make MusicBee start playing the Auto-DJ
now with a single keystroke or button on a remote. Smart devices (WLAN-enabled phones) could even list the available playlists and let the user choose what music he wants to listen to (assuming he has set up appropriate playlists beforehand).