From 98cb8f3969de6b0151d2777b2344d6ff8fd44f1b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 25 Jan 2009 14:11:47 +0100 Subject: playlist: moved savePlaylist() and loadPlaylsit() to playlist_save.c --- src/command.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/command.c') diff --git a/src/command.c b/src/command.c index 7f1858a3..7118e979 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); } -- cgit v1.2.3