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

bool mpd_run_move ( struct mpd_connection connection,
unsigned  from,
unsigned  to 
)

Shortcut for mpd_send_move() and mpd_response_finish().

Parameters:
connection the connection to MPD
from the source song position
to the new position of the song

Definition at line 324 of file queue.c.

References mpd_response_finish(), mpd_run_move(), and mpd_send_move().

Referenced by mpd_run_move().

{
      return mpd_run_check(connection) &&
            mpd_send_move(connection, from, to) &&
            mpd_response_finish(connection);
}


Generated by  Doxygen 1.6.0   Back to index