Returns the position of the currently playing song in the queue (beginning with 0) if a song is currently selected (always the case when state is PLAY or PAUSE). If there is no current song, -1 is returned. Definition at line 267 of file status.c. References mpd_status_get_song_pos(), and mpd_status::song_pos. Referenced by mpd_status_get_song_pos(). { return status->song_pos; }
|