git://git.nikiroo.be
/
nsub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d56300
)
fix: a new created_by tag is added at each pass
author
Niki Roo
<niki@nikiroo.be>
Sat, 26 Feb 2022 22:55:42 +0000
(23:55 +0100)
committer
Niki Roo
<niki@nikiroo.be>
Sat, 26 Feb 2022 22:55:42 +0000
(23:55 +0100)
src/nsub/nsub_read_lrc.c
patch
|
blob
|
blame
|
history
diff --git
a/src/nsub/nsub_read_lrc.c
b/src/nsub/nsub_read_lrc.c
index b9b9d0830161a41efad72aff6c310a8eb211cca3..c245d27208c56eb1a2e771b0331e262286c706de 100644
(file)
--- 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);
}