aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c
index 17ee7dbed..c1f0b3f3d 100644
--- a/src/command.c
+++ b/src/command.c
@@ -1115,7 +1115,7 @@ static int handlePlaylistClear(struct client *client,
{
enum playlist_result result;
- result = clearStoredPlaylist(argv[1]);
+ result = spl_clear(argv[1]);
return print_playlist_result(client, result);
}
@@ -1127,7 +1127,7 @@ static int handlePlaylistAdd(struct client *client,
enum playlist_result result;
if (isRemoteUrl(path))
- result = addToStoredPlaylist(path, playlist);
+ result = spl_append_uri(path, playlist);
else
result = addAllInToStoredPlaylist(path, playlist);