X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=scripts%2Fstop_at_marker.lua;h=32205432f9ba223bef946c572da09c55c46514d8;hb=922bc86b8e840ef57e3c90bcd3164cfc4d5569ab;hp=140fb7a98d45b33fe8f13c6453648a7dca1b4ead;hpb=c560ca67bdfe926f2f84e2b5eb48d52957827d5d;p=ardour.git diff --git a/scripts/stop_at_marker.lua b/scripts/stop_at_marker.lua index 140fb7a98d..32205432f9 100644 --- a/scripts/stop_at_marker.lua +++ b/scripts/stop_at_marker.lua @@ -2,9 +2,7 @@ ardour { ["type"] = "session", name = "Stop at Marker", license = "MIT", - author = "Robin Gareus", - email = "robin@gareus.org", - site = "http://gareus.org", + author = "Ardour Lua Task Force", description = [[An example session script which stops the transport on every location marker when rolling forward.]] } @@ -15,7 +13,7 @@ function factory () return end - local pos = Session:transport_frame () -- current playhead position + local pos = Session:transport_sample () -- current playhead position local loc = Session:locations () -- all marker locations -- find first marker after the current playhead position, ignore loop + punch ranges