it would be nice to have a possibility to script ardour.
The best solution would a dbus interface or a small integrated makro language like in vim.
Why i think that this could be useful ?
I'm using ardour 0.99.x since 6 month for small demo/rehearsal room recordings. But when i started to make 8-Track drum recordings, the ("adminstrative") overhead grew.. You have to create 8 or 16 new busses for every new sessions which are named after a repeated pattern, like snare1,kick1,..,snare2,kick2.
And sometimes you want to connect new busses automatically to a certain input, but with your own rules. For example if you create a new bassdrum bus, connect it with input3 of your first soundcard.
I suppose a hook-based script system whould be great for this tasks. Example: Let's think off a new-session-hook, which gets called on session creation:
for name in (bassdrum,snare,overhead)
while i < 2:
Explanation: create 2 groups and 6 busses for 2 drumset takes. Put bassdrum1,snare1,overhead1 in Group drumtake1
and so on...
Another task would be export to ogg or something an session-quit.
I suppose you'll get the idea behind this :)