mirror of
https://github.com/SuperBFG7/ympd
synced 2025-06-26 15:12:54 +00:00
Fixed albums with comma in browse database view
This commit is contained in:
parent
c72253c27c
commit
4d7d56120d
@ -201,12 +201,13 @@ out_artistalbum:
|
|||||||
} else {
|
} else {
|
||||||
searchstr = strdup(token);
|
searchstr = strdup(token);
|
||||||
}
|
}
|
||||||
if((token = strtok(NULL, ",")) == NULL) {
|
/* if((token = strtok(NULL, ",")) == NULL) {
|
||||||
goto out_artistalbumtitle;
|
goto out_artistalbumtitle;
|
||||||
} else {
|
} else {
|
||||||
p_charbuf2 = strdup(token);
|
p_charbuf2 = strdup(token);
|
||||||
}
|
}
|
||||||
n = mympd_put_songs_in_album(mpd.buf, searchstr, p_charbuf2);
|
*/
|
||||||
|
n = mympd_put_songs_in_album(mpd.buf, searchstr, token+strlen(token)+1);
|
||||||
free(searchstr);
|
free(searchstr);
|
||||||
out_artistalbumtitle:
|
out_artistalbumtitle:
|
||||||
free(p_charbuf);
|
free(p_charbuf);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user