commmand: fix URI argument in playlistadd

This commit is contained in:
tsufeki 2013-08-01 08:42:22 +02:00 committed by Max Kellermann
parent 2b579aeb4f
commit d59a332ef9
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -1,4 +1,6 @@
ver 0.17.5 (not yet released)
* protocol:
- fix "playlistadd" with URI
ver 0.17.4 (2013/04/08)
* protocol:

View File

@ -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);