MPD server data over HTTP
797ed16b — Hristos N. Triantafillou a month ago
Do this with one call
c90e2985 — Hristos N. Triantafillou a month ago
Initial commit

refs

master
browse log

clone

read-only
https://git.sr.ht/~hristoast/mpdinfo
read/write
git@git.sr.ht:~hristoast/mpdinfo

You can also use your local clone with git send-email.

mpd-info

Serve up information about an MPD server in json format.

It's designed to serve up a few data points from a running MPD server out of a small json endpoint:

  • What's currently playing, represented by a preformatted string that falls back to the file name if no tags are available.
  • Information about the track length, and how much time is reamaining.