bool mpd_run_move(struct mpd_connection *connection, unsigned from, unsigned to) { return mpd_run_check(connection) && mpd_send_move(connection, from, to) && mpd_response_finish(connection); }
void Connection::Move(unsigned from, unsigned to) { prechecks(); if (m_command_list_active) mpd_send_move(m_connection.get(), from, to); else { mpd_run_move(m_connection.get(), from, to); checkErrors(); } }