contrib/mpd: add option to customize the output format