mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
aux/cddb: support very long artist+album name combos
This commit is contained in:
parent
dcff4acbb6
commit
8624a54632
1 changed files with 4 additions and 1 deletions
|
@ -233,7 +233,10 @@ DPRINT(2, "cddb %s\n", p);
|
|||
t->artist = estrdup(p);
|
||||
p = a;
|
||||
}
|
||||
t->title = estrdup(p);
|
||||
if(t->title != nil)
|
||||
t->title = smprint("%s%s", t->title, p);
|
||||
else
|
||||
t->title = estrdup(p);
|
||||
}
|
||||
else if(strncmp(p, "DYEAR=", 6) == 0) {
|
||||
t->year = estrdup(p+6);
|
||||
|
|
Loading…
Reference in a new issue