Swap the position of two songs in the queue.
|connection ||the connection to MPD |
|id1 ||the id of one song |
|id2 ||the id of the other song |
Definition at line 376 of file queue.c.
Referenced by mpd_run_swap_id(), and mpd_send_swap_id().
return mpd_send_int2_command(connection, "swapid", id1, id2);