Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Mopidy extension for controlling via input devices

Project Description

Mopidy headless makes it possible to connect a HID (Human Interface Device), like a remote or a keyboard, to a Mopidy server.

Use ir-keytable from lirc to see which keycodes are supported:

# ir-keytable -td /dev/input/...


The default config is the following:

enabled = true

device = ;needs to be set

enable_numbers = true

volume_up = KEY_VOLUMEUP
volume_down = KEY_VOLUMEDOWN
play = KEY_PLAY
pause = KEY_PAUSE
playpause = KEY_ENTER
mute = KEY_MUTE
previous_playlist = KEY_CHANNELUP, KEY_UP
shuffle = KEY_RECORD

The device is found in /dev/input.

By default the numpad of the remote is bound to the corresponding playlists on your Mopidy installation. Disable this by setting enable_numbers to false.

Make sure that the user running mopidy can read from the device you want to use. See to allow a non-root user to read from input devices.

Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Mopidy-Headless-0.2.0.tar.gz (8.6 kB) Copy SHA256 Checksum SHA256 Source Oct 11, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting