info.title.str = malloc((info.title.len + 1) * sizeof(char));
memcpy(info.title.str, finfo->path + finfo->base, info.title.len);
info.title.str[info.title.len] = '\0';
+ lms_charset_conv(ctxt->cs_conv, &info.title.str, &info.title.len);
info.id = finfo->id;
r = lms_db_playlist_add(plugin->playlist_db, &info);