mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Show plugin-author in plugin-list script
This commit is contained in:
parent
59d9c940d3
commit
58cd5ca8fe
1 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ function factory () return function ()
|
||||||
local cnt = 0
|
local cnt = 0
|
||||||
if pi:is_channelstrip () then goto nextproc end
|
if pi:is_channelstrip () then goto nextproc end
|
||||||
if all_plugs[id] then cnt = all_plugs[id]['cnt'] end
|
if all_plugs[id] then cnt = all_plugs[id]['cnt'] end
|
||||||
all_plugs[id] = { name = proc:name(), ["type"] = pi:type(), id = pp:unique_id(), cnt = (cnt + 1) }
|
all_plugs[id] = { name = proc:name(), ["type"] = pi:type(), id = pp:unique_id(), author = pp:get_info().creator, cnt = (cnt + 1) }
|
||||||
::nextproc::
|
::nextproc::
|
||||||
i = i + 1
|
i = i + 1
|
||||||
end
|
end
|
||||||
|
|
@ -46,7 +46,7 @@ function factory () return function ()
|
||||||
|
|
||||||
for k,v in pairs (all_plugs) do
|
for k,v in pairs (all_plugs) do
|
||||||
print (string.format ("%2d * %-6s %-30s (%s)", v['cnt'], plugintypestr(v['type']), v['name'], v['id']))
|
print (string.format ("%2d * %-6s %-30s (%s)", v['cnt'], plugintypestr(v['type']), v['name'], v['id']))
|
||||||
rv = rv .. "\n<span face=\"mono\">" .. string.format ("%3d * %-6s %s", v['cnt'], plugintypestr(v['type']), v['name']) .. "</span>"
|
rv = rv .. "\n<span face=\"mono\">" .. string.format ("%3d * %-6s %s (by %s)", v['cnt'], plugintypestr(v['type']), v['name'], v['author']) .. "</span>"
|
||||||
end
|
end
|
||||||
|
|
||||||
LuaDialog.Message ("All Plugins",rv , LuaDialog.MessageType.Info, LuaDialog.ButtonType.Close):run()
|
LuaDialog.Message ("All Plugins",rv , LuaDialog.MessageType.Info, LuaDialog.ButtonType.Close):run()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue