rsked/mpdclient.cc
/// Play starting with the track at position p. Note that 0 is the
/// first queue position. May throw.
///
Play starting with the track at position p. Note that 0 is the
first queue position. May throw.
Play starting with the track at position p . Note that 0 is the first queue position . May throw .
void Mpd_client::play_pos(unsigned p)
{
    connect();
    assert_connected();
    if (not mpd_run_play_pos( m_conn, p )) {
        enum mpd_server_error serr;
        diag_error("Mpd_client::play_pos: ",serr);
        throw Mpd_run_exception();
    }
}
void Mpd_client :: play_pos ( unsigned p ) { connect ( ) ; assert_connected ( ) ; if ( not mpd_run_play_pos ( m_conn , p ) ) { enum mpd_server_error serr ; diag_error ( " " , serr ) ; throw Mpd_run_exception ( ) ; } }
Play starting with the track at position p. Note that 0 is the
first queue position.
Play starting with the track at position p . Note that 0 is the first queue position .