MpdScripts Script to use with mpd/mpc This is a simple Lua script than scans for (defined) mpd servers, and if one is active, it can report the album/artist/song being played. The output of the script can be piped into, say, I3: