|
myMPD
Internal API documentation
|
Jukebox library. More...
#include "compile_time.h"#include "src/lib/jukebox.h"#include "src/lib/filehandler.h"#include "src/lib/log.h"#include "src/lib/mpack.h"#include "src/lib/mympd_state.h"#include "src/lib/sds_extras.h"#include <string.h>#include <unistd.h>
Functions | |
| enum jukebox_modes | jukebox_mode_parse (const char *str) |
| const char * | jukebox_mode_lookup (enum jukebox_modes mode) |
| bool | jukebox_file_save (struct t_partition_state *partition_state) |
| bool | jukebox_file_read (struct t_partition_state *partition_state) |
Jukebox library.
| bool jukebox_file_read | ( | struct t_partition_state * | partition_state | ) |
Reads the jukebox list from disc
| partition_state | pointer to partition state |
| bool jukebox_file_save | ( | struct t_partition_state * | partition_state | ) |
Saves the jukebox list to disc
| partition_state | pointer to partition state |
| const char * jukebox_mode_lookup | ( | enum jukebox_modes | mode | ) |
Returns the jukebox mode as string
| mode | the jukebox mode |
| enum jukebox_modes jukebox_mode_parse | ( | const char * | str | ) |
Parses the string to the jukebox mode
| str | string to parse |