aux/cddb: support very long artist+album name combos

This commit is contained in:
Noam Preil 2024-09-24 06:47:26 +00:00
parent dcff4acbb6
commit 8624a54632

View file

@ -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);