Compare commits

..

2 Commits

Author SHA1 Message Date
f1e44c6acf [docs] feat: add readme and license
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2024-01-20 18:06:45 +01:00
65506891f6 feat: use range instead of location/arrangement markers
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2024-01-20 18:06:45 +01:00

View File

@ -6,7 +6,7 @@ ardour {
description = [[Rename selected regions using track name and label of range marker at region start]]
}
function factory ()
function factory()
-- there is currently no direct way to find the track
-- corresponding to a [selected] region
function find_track_for_region(region_id)
@ -20,7 +20,7 @@ function factory ()
assert (0) -- can't happen, region must be in a playlist
end
return function ()
return function()
local sel = Editor:get_selection () -- get current selection
local loc = Session:locations() -- get locations