match ID of Inline Scope following 2b7a89e
[ardour.git] / scripts / s_plugin_automation.lua
index daec46aa0c76fbe501bea567d8881c344e4e2890..56129ff7928d0d0a4286bf843634b5fb2a98d2b1 100644 (file)
@@ -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 ())