starting mixbus from the command line (with filename argument)

Hello ardour (and mixbus users),

I wanted to start mixbus from the command line. It can be done using this script:
/opt/Mixbus-1.5.1_8860/bin/mixbus

But giving it a file name as an argument does not work:

/opt/Mixbus-1.5.1_8860/bin/mixbus “~/Documents/doc/compo/clari0.9/clari0.9.ardour”
arg = /home/marierm/Documents/doc/compo/clari0.9/clari0.9.ardour

!!! ERROR !!! - Unknown argument /home/marierm/Documents/doc/compo/clari0.9/clari0.9.ardour

The solution is to modify the /opt/Mixbus-1.5.1_8860/bin/mixbus script. Line 3 looks like this:

while [ $# -gt 0 ] ; do

Just change the 0 to a 1 and it will work:

while [ $# -gt 1 ] ; do

I hope this info useful to someone.

Cheers,

Martin Marier