File import via shell script

I’m just scratching the surface with lua scripting but I’d like to import a file via a shell script. The following example snippet

	Editor:do_import (files,
		Editing.ImportDistinctFiles, Editing.ImportAsTrack, ARDOUR.SrcQuality.SrcBest,
		ARDOUR.MidiTrackNameSource.SMFTrackName, 
                ARDOUR.MidiTempoMapDisposition.SMFTempoIgnore,
		pos, ARDOUR.PluginInfo())

doesn’t work from ardour6-lua scripts because there is no editor object. Is there a way to import (then process then export) files using just a shell script? Thanks!

-Patrick

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.