An MPD client API