Hi,
I forked your app and modified it to include media controls (play, stop, next, previous, mute, volume up and down).
The problem I encountered is that java (or at least the Robot class) by default can't emulate key presses for special keys like the media keys. I therefore used the jnativehook library, which I found working just fine (tested on Windows only).
For the moment you need to import the library yourself (I think the GPL license of jnativehook isn't compatible with your MIT license).
Feel free to check my implementation and include it in your build or modify it as you like.
Hi, I forked your app and modified it to include media controls (play, stop, next, previous, mute, volume up and down). The problem I encountered is that java (or at least the Robot class) by default can't emulate key presses for special keys like the media keys. I therefore used the jnativehook library, which I found working just fine (tested on Windows only). For the moment you need to import the library yourself (I think the GPL license of jnativehook isn't compatible with your MIT license).
Feel free to check my implementation and include it in your build or modify it as you like.
Kind regards