mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
update lua script to use new remote_id lookup API
This commit is contained in:
parent
a03217c27f
commit
d47fb0ccaf
4 changed files with 4 additions and 4 deletions
|
|
@ -2,7 +2,7 @@ ardour { ["type"] = "Snippet", name = "Replace Plugin" }
|
|||
|
||||
function factory () return function ()
|
||||
|
||||
route = Session:route_by_remote_id(1)
|
||||
route = Session:get_remote_nth_route(1)
|
||||
old = route:nth_plugin(0)
|
||||
new = ARDOUR.LuaAPI.new_plugin(Session, "http://gareus.org/oss/lv2/fil4#stereo", ARDOUR.PluginType.LV2, "");
|
||||
route:replace_processor (old, new, nil)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue