diff options
Diffstat (limited to 'src/command/PlaylistCommands.cxx')
-rw-r--r-- | src/command/PlaylistCommands.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command/PlaylistCommands.cxx b/src/command/PlaylistCommands.cxx index 16b3d6e61..1974d7b83 100644 --- a/src/command/PlaylistCommands.cxx +++ b/src/command/PlaylistCommands.cxx @@ -165,7 +165,8 @@ handle_playlistadd(Client &client, Request args, Response &r) Error error; if (uri_has_scheme(uri)) { const SongLoader loader(client); - success = spl_append_uri(playlist, loader, uri, error); + spl_append_uri(playlist, loader, uri); + success = true; } else { #ifdef ENABLE_DATABASE const Database &db = client.GetDatabaseOrThrow(); |