mirror of
https://github.com/SuperBFG7/ympd
synced 2024-12-25 10:30:26 +00:00
Fix: song numbering in search_queue function
This commit is contained in:
parent
13187e4c3a
commit
4a6e0de158
@ -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)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user