aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-25 14:11:47 +0100
committerMax Kellermann <max@duempel.org>2009-01-25 14:11:47 +0100
commit98cb8f3969de6b0151d2777b2344d6ff8fd44f1b (patch)
treeaf21157bb4ee43d0198c1cfb3cea740f3aaa0d93 /src/command.c
parent69c74afa2512747122880c35ac685d319057ab6d (diff)
downloadmpd-98cb8f3969de6b0151d2777b2344d6ff8fd44f1b.tar.gz
mpd-98cb8f3969de6b0151d2777b2344d6ff8fd44f1b.tar.xz
mpd-98cb8f3969de6b0151d2777b2344d6ff8fd44f1b.zip
playlist: moved savePlaylist() and loadPlaylsit() to playlist_save.c
Diffstat (limited to '')
-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);
}