intarstudents / keySharky

Add missing keyboard functionality to Grooveshark!
http://keysharky.tldr.lv/
MIT License
19 stars 5 forks source link

Support for multimedia keys? #12

Open elkarrde opened 12 years ago

elkarrde commented 12 years ago

Is it possible to assign various multimedia keys to keySharky? For example, a lot of keyboard already have Play/Pause, Next, Previous and similar keys, it would be great if one could map these keys to control GrooveShark actions.

intarstudents commented 12 years ago

Hi, well you could try using keySharky HTTP API to trigger play, pause from external software that could catch those keypreses. But sadly non of browsers can do it (as far as have searched). What OS you there?

elkarrde commented 12 years ago

Yeah, it seems no browsers can catch multimedia keys - at least on my 64-bit Debian Linux. Thank you for the suggestion, I'll dig a bit about that, it's good idea that might work well.

johannish commented 12 years ago

SharkZapper provides this functionality through a bit of a hack. A url is opened that points to the extension's command (three commands are available.) For more info on that approach, see: https://github.com/adammw/sharkzapper/wiki