From cf3542f14f1378cbf10b02e7115a47746b191895 Mon Sep 17 00:00:00 2001 From: Kubat <mael.martin31@gmail.com> Date: Mon, 4 May 2020 15:29:00 +0200 Subject: [PATCH] Now begin listing from the insert, but continuation not working --- src/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.c b/src/commands.c index 161e89e4..f38599fb 100644 --- a/src/commands.c +++ b/src/commands.c @@ -435,8 +435,8 @@ command_find(struct lkt_state *srv, size_t c, char *cmd_args[LKT_MESSAGE_ARGS_MA if (action & (LKT_FND_ACT_ADD | LKT_FND_ACT_ENQUEUE) && ! continuation) { search.call = (void(*)(void)) lkt_callback_send_row_v2; search.init = (void(*)(void)) database_queue_add_uri; + search.continuation = queue.length + 1; RETURN_UNLESS(database_queue_state(srv->db, &queue), "Failed to get the status of the queue", false); - search.continuation = queue.current + 1; srv->mpd_idle_events |= MPD_IDLE_PLAYLIST; } -- GitLab