freesound: handle sounds with '/' & \' in their names better
Should fix #5943
This commit is contained in:
parent
9fe0a4f4dd
commit
40f8dc69dd
@ -1070,7 +1070,7 @@ SoundFileBrowser::freesound_get_audio_file(Gtk::TreeIter iter)
|
||||
|
||||
string id = (*iter)[freesound_list_columns.id];
|
||||
string uri = (*iter)[freesound_list_columns.uri];
|
||||
string filename = (*iter)[freesound_list_columns.filename];
|
||||
string filename = ARDOUR::legalize_for_path((*iter)[freesound_list_columns.filename]);
|
||||
|
||||
if (mootcher->checkAudioFile(filename, id)) {
|
||||
// file already exists, no need to download it again
|
||||
|
Loading…
Reference in New Issue
Block a user