touch up libmpdclient_helpers
reformat to GNU style using clang-format
fix misdeclared type in the Position export
A trivial MPD<->MPRIS2 interface.
mpd-mpris2
mpd-mpris2
respects the MPD_HOST
and MPD_PORT
environment variables as
specified by libmpdclient.
org.mpris.MediaPlayer2
org.mpris.MediaPlayer2.Player
Feel free to post any questions, requests, et cetera to
~arsen/public-inbox@lists.sr.ht, or
PRIVMSG me on Libera.Chat, my nick is Arsen
.
However, the former option is preferred as it can be easily searched and
referenced
Probably. I don't know any.
When you spot one, please send an email to ~arsen/public-inbox@lists.sr.ht.
If you wish to submit a change, send an email to
~arsen/public-inbox@lists.sr.ht.
Don't forget to set git config format.subjectPrefix "PATCH mpd-mpris2"
.
This assumes you're using the MPD UNIX socket (e.g. by using the mpd.socket
unit)
[i] ~ 1 $ cat .config/systemd/user/mpd-mpris2.service
[Unit]
Description=A trivial MPD<->MPRIS2 interface
After=mpd.socket
BindsTo=mpd.socket
[Service]
Type=simple
ExecStart=/home/arsen/mpd-mpris2/build/mpd-mpris2
Restart=on-failure
Environment=MPD_HOST=%t/mpd/socket
[Install]
WantedBy=default.target
[i] ~$
TODO
comments scattered around the codebase,sd_bus
and an event loop in concisely.
Version 2 (if any) should use a new D-Bus library, which acts on a
similar abstraction level as sd_bus
, but doesn't use sd_bus
, as
it's not really appropriate for the use that I've put it through.mpd-mpris2
is licensed under the GNU General Public License, version 3, or
(at your option) any later version.