local itt = ARDOUR.InterThreadInfo () -- bounce progress info (unused)
local loop = Session:locations ():auto_loop_location ()
- local playhead = Session:transport_frame ()
+ local playhead = Session:transport_sample ()
-- make sure we have a loop, and the playhead (edit point) is after it
if not loop then
goto errorout
end
assert (loop:start () < loop:_end ())
- if loop:_end () >= playhead then
+ if loop:_end () > playhead then
print_help();
print ("Error: The Playhead (paste point) needs to be after the loop.")
goto errorout