1 ardour { ["type"] = "EditorAction", name = "Remove Unknown Plugins",
3 author = "Robin Gareus",
4 email = "robin@gareus.org",
5 site = "http://gareus.org",
6 description = [[Remove all unknown plugins/processors from all tracks and busses]]
9 function factory (params) return function ()
10 for route in Session:get_routes ():iter () do
13 proc = route:nth_processor (i)
14 if not proc:isnil () and not proc:to_unknownprocessor ():isnil () then
15 route:remove_processor (proc, nil, true)