aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_save.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/playlist_save.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/playlist_save.c b/src/playlist_save.c
index f1634eb56..65cc75e2f 100644
--- a/src/playlist_save.c
+++ b/src/playlist_save.c
@@ -98,6 +98,12 @@ spl_save_queue(const char *name_utf8, const struct queue *queue)
}
enum playlist_result
+spl_save_playlist(const char *name_utf8, const struct playlist *playlist)
+{
+ return spl_save_queue(name_utf8, &playlist->queue);
+}
+
+enum playlist_result
playlist_load_spl(struct playlist *playlist, const char *name_utf8)
{
GPtrArray *list;