Based on the MoparClassic mpc-client