Mopidy-Jukebox
A Mopidy extension that turns a touchscreen into a TouchTunes-style jukebox. Guests browse album art, spend free credits, and queue the next song — from the cabinet itself or from their phone.
Built for an actual 1990s TouchTunes Allegro cabinet with a resistive Elo panel, so the UI assumes single-touch, no hover, and no keyboard.
What it does
- Art-first browsing. Categories come from whatever your backends expose; albums and artists render as tiles, with drill-down to track lists.
- Dialable selection codes. Track lists page into banks — A1–A10, then B1–B10 — and an on-screen keypad lets you punch in a code, the way the mechanical machines worked.
- Credits. Free, but rationed: a starting balance and a slow refill, so one person can't own the night.
- No transport controls for guests. No pause, no skip, no volume. An admin panel hides behind five taps on the credits counter.
- Attract mode built from album art already in the cache.
- Phone and kiosk layouts from one page, with the device's own keyboard on phones and a built-in QWERTY on the wall unit.
Served from Mopidy's own web server, so the page and the JSON-RPC endpoint share an origin — there is no CORS configuration to get wrong.
Installation
python3 -m pip install Mopidy-Jukebox
Then open http://<your-host>:6680/jukebox/.
Configuration
Defaults are usable as-is. To change them, add a [jukebox] section to your
mopidy.conf:
[jukebox]
enabled = true
start_credits = 4 # credits a guest starts with
max_credits = 8 # ceiling, so credits don't stockpile
refill_seconds = 600 # one more credit every N seconds
cost_per_song = 1
attract_seconds = 90 # idle time before the attract screen
page_size = 10 # rows per selection bank (A1..A10)
title = Jukebox
theme = oxblood # oxblood | seeburg | diner | phosphor | mono
accent_color = # optional hex override, e.g. #00b4ff
Themes
| Theme | Looks like |
|---|---|
oxblood |
Wurlitzer oxblood and marquee amber (default) |
seeburg |
cool blue chrome, closer to a 1950s Seeburg |
diner |
neon hot pink on near-black |
phosphor |
green CRT, reads as equipment |
mono |
no hue at all, pure appliance |
accent_color overrides just the accent, keeping the rest of the chosen
theme — set it to your cabinet's own colour. Any hex works (#00b4ff,
00b4ff, #0bf); the lighter "hot" variant is derived automatically. All
five themes are checked for text contrast in the test suite.
Every client reads these from /jukeboxapi/config.json, so a change here
applies to the wall unit and every phone at once.
Project resources
Credits
- Original author: King Butter
- Current maintainer: King Butter
Release files for Mopidy-Jukebox 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mopidy_jukebox-1.0.1.tar.gz | 243.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mopidy_jukebox-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 285.4 kB
Release files / mopidy_jukebox-1.0.1.tar.gz
| Download URL | mopidy_jukebox-1.0.1.tar.gz |
|---|---|
| Size | 243.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2fadd15d080784a74bee051a1f9e11a8268ad096920ead1968c74abc4295d26
|
|
BLAKE2b-256 checksum How to use checksums |
d40187454353cc728e02987aecc92fcb4864651375d3dda821adfced35c881eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 28, 2026.
Transparency logRelease files / mopidy_jukebox-1.0.1-py3-none-any.whl
| Download URL | mopidy_jukebox-1.0.1-py3-none-any.whl |
|---|---|
| Size | 41.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d703f30d73b684e792558633e7b30c1d25994a5ffc877a08c907dc3a952090d5
|
|
BLAKE2b-256 checksum How to use checksums |
ec7efd4e1baaa37c08193e5cc6f8602296f19451394aa98075639f574bb5f6f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 28, 2026.
Transparency log