Allow control of MPD new queue system
◆ mpd_playlist_load()
int mpd_playlist_load |
( |
MpdObj * |
mi, |
|
|
const char * |
path |
|
) |
| |
◆ mpd_playlist_mpd_queue_add()
int mpd_playlist_mpd_queue_add |
( |
MpdObj * |
mi, |
|
|
int |
songid |
|
) |
| |
- Parameters
-
mi | a MpdObj |
songid | the id of the song to add |
Add the song from the playlist with id songid.
- Returns
- a MpdError
◆ mpd_playlist_mpd_queue_remove()
int mpd_playlist_mpd_queue_remove |
( |
MpdObj * |
mi, |
|
|
int |
songpos |
|
) |
| |
- Parameters
-
mi | a MpdObj |
songpos | the pos of the song to remove |
Removes the song from the queue at position songpos
- Returns
- a MpdError