Skip to content
Dedicate the media keys (F7, F8, and F9) on a Mac keyboard to controlling Rdio.
Objective-C Shell JavaScript
Latest commit 983040d Aug 20, 2014 @whymarrh Fix install script quotes

README.md

Media Keys

Media Keys is a small WebSocket server that run on OS X, emitting events when you press the "media keys" on your keyboard (F7, F8, and F9). With this you can, amongst other things, control web-based music streaming services. In the extensions folder, you will find Safari and Chrome extensions that control playback on Rdio.

Credit for the idea of using WebSockets: Boris Smus

Note: the server starts with the system and is always running. It will always be consuming the media key events whole and no other applications (e.g. iTunes, QuickTime Player, etc) will recieve them.

Building from source

Dependencies: CMake

If not already installed, this project will install libwebsockets.

$ git clone --recursive git://github.com/whymarrh/media-keys.git
$ ./install.sh

Add the Chrome extension found in the extensions folder (the Media Keys.crx file) to Google Chrome (via drag'n'drop).

Resources

Definitely check out the Rdio API and the libwebsockets API.

Something went wrong with that request. Please try again.