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

bool mpd_run_shuffle_range ( struct mpd_connection connection,
unsigned  start,
unsigned  end 
)

Shortcut for mpd_send_shuffle_range() 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)

Definition at line 295 of file queue.c.

References mpd_response_finish(), mpd_run_shuffle_range(), and mpd_send_shuffle_range().

Referenced by mpd_run_shuffle_range().

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


Generated by  Doxygen 1.6.0   Back to index