mpd: outsource printing code
authorPhil Sutter <phil@nwl.cc>
Mon, 9 Nov 2009 21:11:06 +0000 (22:11 +0100)
committerPhil Sutter <phil@nwl.cc>
Thu, 19 Nov 2009 23:01:33 +0000 (00:01 +0100)
commitc439c8e7b69e53abcbf74246efd39efcd58215f8
treeb688cb1897a5accda055c8deff8fbde0ebaa595f
parent87873bceeb1d01823ca36d9c770db13ebdd99202
mpd: outsource printing code

In order to make life a bit easier, the struct mpd_s field "volume" has
been renamed to just "vol" to match the object's name (mpd_vol).

Although format_media_player_time() is probably meant to be used by all
supported media players, it's currently being used by mpd only. So for
now this function can reside statically in mpd.c
src/conky.c
src/mpd.c
src/mpd.h