Skip to main content

Control mpd with the OS X media keys.

Project description

Control mpd with the OS X media keys.


To install osxmpdkeys with pip, use:

$ pip install osxmpdkeys


In the simplest case, just run mpdkeys. The default mpd host address is localhost:6600.

usage: mpdkeys [-h] [--host HOST] [--port PORT]

optional arguments:
--host HOST  mpd host address
--port PORT  mpd host port

If you want to have mpdkeys start automatically upon login, you can create a LaunchAgent like so:

$ cat <<EOF> ~/Library/LaunchAgents/com.github.pushrax.osxmpdkeys.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">

Next time you log in, launchd will pick up the configuration automatically.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for osxmpdkeys, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size osxmpdkeys-1.0.2.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page