1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-04-10 04:36:46 +00:00

Fixed albums with comma in browse database view

This commit is contained in:
jcorporation 2018-06-03 23:43:00 +02:00
parent c72253c27c
commit 4d7d56120d

View File

@ -201,12 +201,13 @@ out_artistalbum:
} else {
searchstr = strdup(token);
}
if((token = strtok(NULL, ",")) == NULL) {
/* if((token = strtok(NULL, ",")) == NULL) {
goto out_artistalbumtitle;
} else {
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);
out_artistalbumtitle:
free(p_charbuf);