aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--NEWS2
-rw-r--r--src/command.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index c58c0c5b9..8ef4f8b75 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,6 @@
ver 0.17.5 (not yet released)
+* protocol:
+ - fix "playlistadd" with URI
ver 0.17.4 (2013/04/08)
* protocol:
diff --git a/src/command.c b/src/command.c
index 34ec87247..b3318c68b 100644
--- a/src/command.c
+++ b/src/command.c
@@ -1579,7 +1579,7 @@ handle_playlistadd(struct client *client, G_GNUC_UNUSED int argc, char *argv[])
return COMMAND_RETURN_ERROR;
}
- success = spl_append_uri(argv[1], playlist, &error);
+ success = spl_append_uri(uri, playlist, &error);
} else
success = addAllInToStoredPlaylist(uri, playlist, &error);