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

bool mpd_run_move_range ( struct mpd_connection connection,
unsigned  start,
unsigned  end,
unsigned  to 
)

Shortcut for mpd_send_move_id() and mpd_response_finish().

Parameters:
connection the connection to MPD
start the start position of the range (including)
end the end position of the range (excluding)
to the new position of the song range
Returns:
true on success, false on error

Definition at line 353 of file queue.c.

References mpd_response_finish(), mpd_run_move_range(), and mpd_send_move_range().

Referenced by mpd_run_move_range().

{
      return mpd_run_check(connection) &&
            mpd_send_move_range(connection, start, end, to) &&
            mpd_response_finish(connection);
}


Generated by  Doxygen 1.6.0   Back to index