fix: a new created_by tag is added at each pass
authorNiki Roo <niki@nikiroo.be>
Sat, 26 Feb 2022 22:55:42 +0000 (23:55 +0100)
committerNiki Roo <niki@nikiroo.be>
Sat, 26 Feb 2022 22:55:42 +0000 (23:55 +0100)
src/nsub/nsub_read_lrc.c

index b9b9d0830161a41efad72aff6c310a8eb211cca3..c245d27208c56eb1a2e771b0331e262286c706de 100644 (file)
@@ -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);
                }