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

int mpd_status_get_song_id ( const struct mpd_status status  ) 

Returns the id of the currently song. If there is no current song, -1 is returned.

Definition at line 341 of file status.c.

References mpd_status_get_song_id(), and mpd_status::song_id.

Referenced by mpd_status_get_song_id().

{
      return status->song_id;
}


Generated by  Doxygen 1.6.0   Back to index