From ccaa7967bf9f909715452db53d523eeb24a29c98 Mon Sep 17 00:00:00 2001 From: chme Date: Sun, 8 Nov 2020 07:50:14 +0100 Subject: [PATCH] [mpd] Fix nextsong/nextsongid in status cmd response --- src/mpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mpd.c b/src/mpd.c index 19906dbe..d0edf479 100644 --- a/src/mpd.c +++ b/src/mpd.c @@ -1044,8 +1044,8 @@ mpd_command_status(struct evbuffer *evbuf, int argc, char **argv, char **errmsg, evbuffer_add_printf(evbuf, "nextsong: %d\n" "nextsongid: %d\n", - queue_item->id, - queue_item->pos); + queue_item->pos, + queue_item->id); free_queue_item(queue_item, 0); }