summaryrefslogtreecommitdiff
path: root/scripts/session_template_advanced.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/session_template_advanced.lua')
-rw-r--r--scripts/session_template_advanced.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/session_template_advanced.lua b/scripts/session_template_advanced.lua
index 3e8d95f5b2..d9f0a03ed2 100644
--- a/scripts/session_template_advanced.lua
+++ b/scripts/session_template_advanced.lua
@@ -1,11 +1,11 @@
ardour {
- ["type"] = "SessionSetup",
+ ["type"] = "SessionInit",
name = "Advanced Session",
description = [[Allows to configure master-bus and autoconnect]],
master_bus = 0
}
-function session_setup ()
+function factory () return function ()
local auto_connect_in = {
[0] = "Manually",
@@ -56,4 +56,4 @@ function session_setup ()
ARDOUR.config():set_output_auto_connect (rv['ac_output'])
Session:save_state("");
-end
+end end