13
0

add delete x-run marker script

This commit is contained in:
Robin Gareus 2017-01-19 19:35:55 +01:00
parent aaf441d18f
commit 758f183b99

View File

@ -0,0 +1,9 @@
ardour { ["type"] = "EditorAction", name = "Delete xrun markers", author = "Ardour Team", description = [[Delete all xrun markers in the current session]] }
function factory () return function ()
for l in Session:locations():list():iter() do
if l:is_mark() and string.find (l:name(), "^xrun%d*$") then
Session:locations():remove (l);
end
end
end end