|
myMPD
Internal API documentation
|
Jukebox library. More...
#include <stdbool.h>

Go to the source code of this file.
Enumerations | |
| enum | jukebox_modes { JUKEBOX_OFF , JUKEBOX_ADD_SONG , JUKEBOX_ADD_ALBUM , JUKEBOX_SCRIPT , JUKEBOX_UNKNOWN } |
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.
| enum jukebox_modes |
| 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 |