Working version using python-mpd