You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I accidentally added a space in my shortname, and it resulted in sox errors likely due to the spaces in the file path inside of combine_wave().
Is it possible to either warn about the space in config.json's shortname or add double quotes around each file path in combine_wave() to help mitigate errors in the event of an accidental space in the shortname?
Something like this in combine_wave() before nchars may help:
// Add double quotes around each file path in the files string
std::ostringstream quoted_files;
size_t pos = 0;
while ((pos = files.find(' ')) != std::string::npos) {
quoted_files << "\"" << files.substr(0, pos) << "\" ";
files.erase(0, pos + 1);
}
quoted_files << "\"" << files << "\""; // Add the last file
The text was updated successfully, but these errors were encountered:
I accidentally added a space in my
shortname
, and it resulted insox
errors likely due to the spaces in the file path inside of combine_wave().Is it possible to either warn about the space in config.json's
shortname
or add double quotes around each file path incombine_wave()
to help mitigate errors in the event of an accidental space in theshortname
?Something like this in
combine_wave()
beforenchars
may help:The text was updated successfully, but these errors were encountered: