[Pkg-mpd-maintainers] Packaging mpd2mpris (asyncio rewrite of mpDris2) for Forky
Mathieu Réquillart
mathieu.requillart at gmail.com
Thu Jun 18 16:13:08 BST 2026
Hi,
I'd like to discuss packaging mpd2mpris (
https://github.com/b0bbywan/mpd2mpris) for Debian. It's an asyncio rewrite
of mpDris2, and I'm writing to the mpd team because of the obvious overlap.
*Background*: I contacted Jean-Philippe Braun (eonpatapon, mpDris2
upstream) last month about the modernization work I'd been doing. His
response was that the divergence had grown enough that it's effectively a
different project, and that he'd be happy to link it from the mpDris2
README so users and distros can make their own choice. With that, I renamed
the project to mpd2mpris and detached it from mpDris2's fork network on
GitHub.
*Key differences from mpdris2*:
- Single asyncio event loop (python-mpd2 for MPD, dbus-fast for D-Bus)
instead of GLib + dbus-python; packaging on pyproject.
- Cover art via MPD's *readpicture*/*albumart* with FS fallback
preserved; optional remote lookup: MusicBrainz/CAA, Deezer, iTunes for
tagged tracks, and RadioBrowser, local myMPD
<https://github.com/jcorporation/myMPD> for HTTP streams;
served as *mpris:artUrl*, fetched asynchronously after metadata
emission, no local caching (opt-in, off by default, ToS-compliant).
- Cue sheet covers exposed from virtual folders.
- MPD MusicDir config readable from the MPD socket as well as the config
file.
- Added: python3-musicbrainzngs Recommends depency (other cover backends
are stdlib)
- Dropped: mutagen, libnotify + i18n (modern desktops handle
track-change OSD via MPRIS natively), and the GNOME settings-daemon mmkeys
path.
Same bus name (*org.mpris.MediaPlayer2.mpd*), same config format, same
systemd user unit shape, so drop-in for current setups.
I currently ship it as a .deb on apt.odio.love, for odio (a multi-room
audio appliance project I maintain). The debian/ directory is modelled on
Simon's mpdris2 packaging, which I want to acknowledge as a genuinely
useful reference. It builds clean on Trixie with debhelper 13, dh-python,
pybuild-plugin-pyproject.
I'd like to get mpd2mpris into Debian for Forky. I'd happily do that as
part of the mpd team on Salsa if you'd have me, or as a solo effort with a
sponsor if the team would rather stay focused. Either way I'd keep
apt.odio.love running in parallel to ship newer releases on current Debian
stables (used by odio appliances), built from the same packaging source.
Thanks for the existing mpdris2 packaging, it really was a useful reference.
Best,
--
Mathieu Réquillart
https://github.com/b0bbywan <http://mathieu.requillart.netcv.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-mpd-maintainers/attachments/20260618/9c17d5f9/attachment.htm>
More information about the Pkg-mpd-maintainers
mailing list