Mopidy Headless
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/...
Configuration
The default config is the following:
[headless] enabled = true device = ;needs to be set enable_numbers = true volume_up = KEY_VOLUMEUP volume_down = KEY_VOLUMEDOWN next_song = KEY_RIGHT, KEY_NEXTSONG previous_song = KEY_PREVIOUSSONG, KEY_LEFT play = KEY_PLAY pause = KEY_PAUSE playpause = KEY_ENTER mute = KEY_MUTE next_playlist = KEY_CHANNELDOWN, KEY_DOWN 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 http://puredata.info/docs/faq/how-can-i-set-permissions-so-hid-can-read-devices-in-gnu-linux to allow a non-root user to read from input devices.
Metadata
Release files for Mopidy-Headless 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Mopidy-Headless-0.3.0.tar.gz | 9.0 kB | Without provenance | Details for Mopidy-Headless-0.3.0.tar.gz |
Release files / Mopidy-Headless-0.3.0.tar.gz
| Download URL | Mopidy-Headless-0.3.0.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f5eb08fe949023939e9b02a4fb64b00d0f52d6e9a4adcdbf1c0bb57d42ca0ba
|
|
BLAKE2b-256 checksum How to use checksums |
3c8a7f6604ed7922b20b5947a4622bb4bf7f86be2408315510f16c808cbb12d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0
|
Security for Mopidy-Headless 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.