Functions | |
| int | mpd_database_delete_playlist (MpdObj *mi, const char *path) |
| int | mpd_database_save_playlist (MpdObj *mi, const char *name) |
| MpdData * | mpd_database_get_playlist_content (MpdObj *mi, const char *playlist) |
| void | mpd_database_playlist_list_add (MpdObj *mi, const char *path, const char *file) |
| void | mpd_database_playlist_list_delete (MpdObj *mi, const char *path, int pos) |
| void | mpd_database_playlist_clear (MpdObj *mi, const char *path) |
| void | mpd_database_playlist_rename (MpdObj *mi, const char *old_name, const char *new_name) |
| int | mpd_database_playlist_move (MpdObj *mi, const char *playlist, int old_pos, int new_pos) |
| MpdData * | mpd_database_playlist_list (MpdObj *mi) |
| int mpd_database_delete_playlist | ( | MpdObj * | mi, | |
| const char * | path | |||
| ) |
| void mpd_database_playlist_clear | ( | MpdObj * | mi, | |
| const char * | path | |||
| ) |
| mi | a MpdObj | |
| path | a string containing the path of the playlist |
| void mpd_database_playlist_list_add | ( | MpdObj * | mi, | |
| const char * | path, | |||
| const char * | file | |||
| ) |
| mi | a MpdObj | |
| path | a string contains the path of the playlist | |
| file | a string contains the path of the song to add |
| void mpd_database_playlist_list_delete | ( | MpdObj * | mi, | |
| const char * | path, | |||
| int | pos | |||
| ) |
| mi | a MpdObj | |
| path | a string containing the path of the playlist | |
| pos | an int representing the position of a song |
| int mpd_database_playlist_move | ( | MpdObj * | mi, | |
| const char * | playlist, | |||
| int | old_pos, | |||
| int | new_pos | |||
| ) |
| mi | a MpdObj | |
| playlist | a string containing the path of the playlist | |
| old_pos | an integer representing old position | |
| new_pos | an integer representing the position to move old_pos to. |
| void mpd_database_playlist_rename | ( | MpdObj * | mi, | |
| const char * | old_name, | |||
| const char * | new_name | |||
| ) |
| mi | a MpdObj | |
| old | a string, old playlist name | |
| new | a string, new playlist name |
| int mpd_database_save_playlist | ( | MpdObj * | mi, | |
| const char * | name | |||
| ) |
| mi | a MpdObj | |
| name | The name of the playlist |