aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/command.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 2c7f2b3d4..643473b17 100644
--- a/src/command.c
+++ b/src/command.c
@@ -562,7 +562,8 @@ handle_add(struct client *client, G_GNUC_UNUSED int argc, char *argv[])
return COMMAND_RETURN_ERROR;
}
- return addToPlaylist(&g_playlist, uri, NULL);
+ result = addToPlaylist(&g_playlist, uri, NULL);
+ return print_playlist_result(client, result);
}
result = addAllIn(uri);