Update lua script to current playlist API
authorDaniel Appelt <daniel.appelt@gmail.com>
Sun, 8 Dec 2019 16:40:38 +0000 (17:40 +0100)
committerDaniel Appelt <daniel.appelt@gmail.com>
Sun, 8 Dec 2019 16:40:38 +0000 (17:40 +0100)
scripts/bounce_replace.lua

index 775ec27d2b4c1cf9434fc21ee324200f997cc8de..da657628abad6e9ca47dc753c393968c49a2e963 100644 (file)
@@ -44,7 +44,7 @@ function factory (params) return function ()
                -- remove old region..
                playlist:remove_region (r);
                -- ..and add the newly bounced one
-               playlist:add_region (region, r:position (), 1, false, 0, false)
+               playlist:add_region (region, r:position (), 1, false, 0, 0, false)
 
                -- create a diff of the performed work, add it to the session's undo stack
                -- and check if it is not empty