src/playlist_save.h File Reference
#include "playlist_error.h"
#include <stdbool.h>
#include <stdio.h>
Go to the source code of this file.
Functions |
void | playlist_print_song (FILE *fp, const struct song *song) |
void | playlist_print_uri (FILE *fp, const char *uri) |
enum playlist_result | spl_save_queue (const char *name_utf8, const struct queue *queue) |
| Saves a queue object into a stored playlist file.
|
enum playlist_result | spl_save_playlist (const char *name_utf8, const struct playlist *playlist) |
| Saves a playlist object into a stored playlist file.
|
bool | playlist_load_spl (struct playlist *playlist, struct player_control *pc, const char *name_utf8, unsigned start_index, unsigned end_index, GError **error_r) |
| Loads a stored playlist file, and append all songs to the global playlist.
|
Function Documentation
bool playlist_load_spl |
( |
struct playlist * |
playlist, |
|
|
struct player_control * |
pc, |
|
|
const char * |
name_utf8, |
|
|
unsigned |
start_index, |
|
|
unsigned |
end_index, |
|
|
GError ** |
error_r | |
|
) |
| | |
void playlist_print_song |
( |
FILE * |
fp, |
|
|
const struct song * |
song | |
|
) |
| | |
void playlist_print_uri |
( |
FILE * |
fp, |
|
|
const char * |
uri | |
|
) |
| | |