From 4a6e0de15890a4faf4bbf5ae798ac6bd001b3de5 Mon Sep 17 00:00:00 2001 From: jcorporation Date: Thu, 15 Nov 2018 20:59:38 +0000 Subject: [PATCH] Fix: song numbering in search_queue function --- src/mpd_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mpd_client.c b/src/mpd_client.c index a0ddccf..b65dde2 100644 --- a/src/mpd_client.c +++ b/src/mpd_client.c @@ -2219,7 +2219,7 @@ int mympd_search_queue(char *buffer, char *mpdtagtype, unsigned int offset, char if (entity_count > offset && entity_count <= offset + config.max_elements_per_page) { if (entities_returned++) len += json_printf(&out, ", "); - len += json_printf(&out, "{type: song, id: %d, pos: %d, ", + len += json_printf(&out, "{type: song, id: %d, Pos: %d, ", mpd_song_get_id(song), mpd_song_get_pos(song) );