From ea7860141d7a0723503d86089fd7d60b5c5728d8 Mon Sep 17 00:00:00 2001 From: jcorporation Date: Sat, 10 Feb 2024 23:59:40 +0100 Subject: [PATCH] Fix: Remove split char from vorbis comment value #1217 --- CHANGELOG.md | 5 +++-- src/mympd_api/lyrics.c | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 655c18168..59cfb170d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,8 +10,9 @@ This is a small bugfix release. ### Changelog -- Fix: use only configured tags #1215 -- Fix: reconnect to MPD after connection parameters has changed +- Fix: Use only configured tags #1215 +- Fix: Reconnect to MPD after connection parameters has changed +- Fix: Remove split char from vorbis comment value #1217 *** diff --git a/src/mympd_api/lyrics.c b/src/mympd_api/lyrics.c index 088408945..38d7b7d06 100644 --- a/src/mympd_api/lyrics.c +++ b/src/mympd_api/lyrics.c @@ -533,6 +533,7 @@ static void lyricsextract_flac(struct t_list *extracted, sds media_file, bool is if (field_value != NULL && strlen(field_value) > 1) { + field_value++; buffer = sdscatlen(buffer, "{", 1); buffer = tojson_bool(buffer, "synced", synced, true); buffer = tojson_char_len(buffer, "lang", "", 0, true);