Logo Search packages:      
Sourcecode: libmpdclient version File versions  Download package

bool mpd_send_swap_id ( struct mpd_connection connection,
unsigned  id1,
unsigned  id2 
)

Swap the position of two songs in the queue.

Parameters:
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.

References mpd_send_swap_id().

Referenced by mpd_run_swap_id(), and mpd_send_swap_id().

{
      return mpd_send_int2_command(connection, "swapid", id1, id2);
}


Generated by  Doxygen 1.6.0   Back to index