diff options
author | Robin Gareus <robin@gareus.org> | 2016-05-31 23:51:05 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-05-31 23:51:22 +0200 |
commit | d47fb0ccafc7977a9991263728638778b993cfb6 (patch) | |
tree | bb3fb834fb240fe4b74e8bc759c78a63a08c94db /scripts/s_plugin_automation.lua | |
parent | a03217c27f73245281e0939d436f663091633997 (diff) |
update lua script to use new remote_id lookup API
Diffstat (limited to 'scripts/s_plugin_automation.lua')
-rw-r--r-- | scripts/s_plugin_automation.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/s_plugin_automation.lua b/scripts/s_plugin_automation.lua index daec46aa0c..56129ff792 100644 --- a/scripts/s_plugin_automation.lua +++ b/scripts/s_plugin_automation.lua @@ -6,7 +6,7 @@ function factory () return function () local samplerate = Session:nominal_frame_rate () -- get Track/Bus with RID 3 - local r = Session:route_by_remote_id(3) + local r = Session:get_remote_nth_route(3) -- make sure the track object exists assert (not r:isnil ()) |