Fix: song numbering in search_queue function

This commit is contained in:
jcorporation 2018-11-15 20:59:38 +00:00
parent 13187e4c3a
commit 4a6e0de158
1 changed files with 1 additions and 1 deletions

View File

@ -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)
);