aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c
index 7f1858a34..7118e979b 100644
--- a/src/command.c
+++ b/src/command.c
@@ -20,6 +20,7 @@
#include "player_control.h"
#include "playlist.h"
#include "playlist_print.h"
+#include "playlist_save.h"
#include "queue_print.h"
#include "ls.h"
#include "directory.h"
@@ -668,7 +669,7 @@ handle_save(struct client *client,
{
enum playlist_result result;
- result = savePlaylist(argv[1]);
+ result = spl_save_queue(argv[1], playlist_get_queue());
return print_playlist_result(client, result);
}
@@ -677,7 +678,7 @@ handle_load(struct client *client, G_GNUC_UNUSED int argc, char *argv[])
{
enum playlist_result result;
- result = loadPlaylist(argv[1]);
+ result = playlist_load_spl(argv[1]);
return print_playlist_result(client, result);
}