If you want a more featureful status bar for wmii, check out szs3rd, from which I shamelessly copied and hacked the mpc.py module.
- Displays currently playing/paused song (that's a given really) with time.
- If metadata isn't provided, falls back to the basename of the file.
svn co http://svn.bleah.co.uk/repos/misc/mpd-status/trunk
or, since it is just the one file, grab it via HTTP from http://svn.bleah.co.uk/repos/misc/mpd-status/trunk/mpdstatus.py
When run, the script simply outputs current track information (or volume info) to standard output. To have this update continuously, run it repeatedly inside a loop construct, for example (using sh):
while true do mpdstatus.py sleep 1 done
Some example 'status' rc scripts for wmii 2.5 are contained in the examples directory.
mpd-status is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.