mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-14 10:36:34 +01:00
Also move Lua scripts to share subfolder
This commit is contained in:
parent
bf649cd68a
commit
180843f9bd
129 changed files with 2 additions and 2 deletions
17
share/scripts/new_playlist.lua
Normal file
17
share/scripts/new_playlist.lua
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
ardour {
|
||||
["type"] = "EditorAction",
|
||||
name = "New Playlist",
|
||||
license = "MIT",
|
||||
author = "Ardour Lua Taskforce",
|
||||
description = [[Prompts and builds a new playlist for every track in the session.]]
|
||||
}
|
||||
|
||||
function factory () return function ()
|
||||
|
||||
for r in Session:get_tracks():iter() do
|
||||
local rtav = Editor:rtav_from_route(r) -- lookup RTAV
|
||||
Editor:new_playlists(rtav:to_timeaxisview())
|
||||
end
|
||||
|
||||
collectgarbage()
|
||||
end end
|
||||
Loading…
Add table
Add a link
Reference in a new issue