mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
[mpd] Fix nextsong/nextsongid in status cmd response
This commit is contained in:
parent
17e7df84fb
commit
ccaa7967bf
@ -1044,8 +1044,8 @@ mpd_command_status(struct evbuffer *evbuf, int argc, char **argv, char **errmsg,
|
|||||||
evbuffer_add_printf(evbuf,
|
evbuffer_add_printf(evbuf,
|
||||||
"nextsong: %d\n"
|
"nextsong: %d\n"
|
||||||
"nextsongid: %d\n",
|
"nextsongid: %d\n",
|
||||||
queue_item->id,
|
queue_item->pos,
|
||||||
queue_item->pos);
|
queue_item->id);
|
||||||
|
|
||||||
free_queue_item(queue_item, 0);
|
free_queue_item(queue_item, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user