Last modified 7 years ago Last modified on 02/11/08 02:02:50

MPD Status

MPD Status is a quick Python script to display some details about the track currently playing in MPD. It is intended for use in wmii's status bar.

If you want a more featureful status bar for wmii, check out szs3rd, from which I shamelessly copied and hacked the 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.



Checkout mpd-status/trunk/ from the Subversion repository:

svn co

or, since it is just the one file, grab it via HTTP from


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
    sleep 1

Some example 'status' rc scripts for wmii 2.5 are contained in the examples directory.


mpd-status is free software; you can redistribute it and/or modify it under the terms of either version 2 or version 3 of the GNU General Public License as published by the Free Software Foundation.

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.