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

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

Shortcut for mpd_send_move_id() and mpd_response_finish().

Parameters:
connection the connection to MPD
from the source song id
to the new position of the song (not an id!)

Definition at line 338 of file queue.c.

References mpd_response_finish(), mpd_run_move_id(), and mpd_send_move_id().

Referenced by mpd_run_move_id().

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


Generated by  Doxygen 1.6.0   Back to index