#include <glib.h>
#include <stdbool.h>
Go to the source code of this file.
Defines | |
#define | playlist_plugins_for_each(plugin) |
Functions | |
void | playlist_list_global_init (void) |
Initializes all playlist plugins. | |
void | playlist_list_global_finish (void) |
Deinitializes all playlist plugins. | |
struct playlist_provider * | playlist_list_open_uri (const char *uri, GMutex *mutex, GCond *cond) |
Opens a playlist by its URI. | |
struct playlist_provider * | playlist_list_open_stream (struct input_stream *is, const char *uri) |
Opens a playlist from an input stream. | |
bool | playlist_suffix_supported (const char *suffix) |
Determines if there is a playlist plugin which can handle the specified file name suffix. | |
struct playlist_provider * | playlist_list_open_path (const char *path_fs, GMutex *mutex, GCond *cond, struct input_stream **is_r) |
Opens a playlist from a local file. | |
Variables | |
struct playlist_plugin *const | playlist_plugins [] |
#define playlist_plugins_for_each | ( | plugin | ) |
for (const struct playlist_plugin *plugin, \ *const*playlist_plugin_iterator = &playlist_plugins[0]; \ (plugin = *playlist_plugin_iterator) != NULL; \ ++playlist_plugin_iterator)
Definition at line 32 of file playlist_list.h.
void playlist_list_global_finish | ( | void | ) |
Deinitializes all playlist plugins.
void playlist_list_global_init | ( | void | ) |
Initializes all playlist plugins.
struct playlist_provider* playlist_list_open_path | ( | const char * | path_fs, | |
GMutex * | mutex, | |||
GCond * | cond, | |||
struct input_stream ** | is_r | |||
) | [read] |
Opens a playlist from a local file.
path_fs | the path of the playlist file | |
is_r | on success, an input_stream object is returned here, which must be closed after the playlist_provider object is freed |
struct playlist_provider* playlist_list_open_stream | ( | struct input_stream * | is, | |
const char * | uri | |||
) | [read] |
Opens a playlist from an input stream.
is | an input_stream object which is open and ready | |
uri | optional URI which was used to open the stream; may be used to select the appropriate playlist plugin |
struct playlist_provider* playlist_list_open_uri | ( | const char * | uri, | |
GMutex * | mutex, | |||
GCond * | cond | |||
) | [read] |
Opens a playlist by its URI.
bool playlist_suffix_supported | ( | const char * | suffix | ) |
Determines if there is a playlist plugin which can handle the specified file name suffix.
struct playlist_plugin* const playlist_plugins[] |