libmpd 0.19.0
Playlist Queue

Functions

int mpd_playlist_mpd_queue_add (MpdObj *mi, int songid)
int mpd_playlist_mpd_queue_remove (MpdObj *mi, int songpos)

Detailed Description

Allow control of MPD new queue system


Function Documentation

int mpd_playlist_mpd_queue_add ( MpdObj mi,
int  songid 
)
Parameters:
mia MpdObj
songidthe id of the song to add

Add the song from the playlist with id songid.

Returns:
a MpdError
int mpd_playlist_mpd_queue_remove ( MpdObj mi,
int  songpos 
)
Parameters:
mia MpdObj
songposthe pos of the song to remove

Removes the song from the queue at position songpos

Returns:
a MpdError