#include <glibmm/thread.h>
#include "pbd/xml++.h"
-#include "pbd/filesystem.h"
+#include "pbd/basename.h"
#include "ardour/automation_control.h"
#include "ardour/midi_model.h"
PropertyList plist;
- plist.add (Properties::name, sys::basename (ms->name()));
+ plist.add (Properties::name, PBD::basename_nosuffix (ms->name()));
plist.add (Properties::whole_file, true);
plist.add (Properties::start, _start);
plist.add (Properties::start_beats, _start_beats);