diff options
Diffstat (limited to '')
-rw-r--r-- | src/playlist_list.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/playlist_list.h b/src/playlist_list.h index b5ac52a6f..ebfc5c509 100644 --- a/src/playlist_list.h +++ b/src/playlist_list.h @@ -51,4 +51,15 @@ playlist_list_open_uri(const char *uri); struct playlist_provider * playlist_list_open_stream(struct input_stream *is, const char *uri); +/** + * Opens a playlist from a local file. + * + * @param is an uninitialized #input_stream object (must be closed + * with input_stream_close() if this function succeeds) + * @param path_fs the path of the playlist file + * @return a playlist, or NULL on error + */ +struct playlist_provider * +playlist_list_open_path(struct input_stream *is, const char *path_fs); + #endif |