Adapt to libmpd