From: Niki Roo Date: Sat, 26 Feb 2022 22:55:42 +0000 (+0100) Subject: fix: a new created_by tag is added at each pass X-Git-Url: http://git.nikiroo.be/?a=commitdiff_plain;h=30b93b5699ef8354992ca4d5d57526019608bc85;p=nsub.git fix: a new created_by tag is added at each pass --- diff --git a/src/nsub/nsub_read_lrc.c b/src/nsub/nsub_read_lrc.c index b9b9d08..c245d27 100644 --- a/src/nsub/nsub_read_lrc.c +++ b/src/nsub/nsub_read_lrc.c @@ -88,6 +88,8 @@ int nsub_read_lrc(song_t *song, char *line) { line[end] = '\0'; if (!strcmp("language", line + 1)) { song->lang = utils_strdup(line + text_offset); + }else if (!strcmp("created_by", line + 1)) { + // skip (we KNOW what program we are) } else { song_add_meta(song, line + 1, line + text_offset); }