AU: mark preset dirty when parameter changes
[ardour.git] / scripts / s_pluginutils.lua
index 2f42160b0a8e4abc8357c691dab4de2968dcd15a..e99bef7b935848d834f79c5432916662ab2ebe41 100644 (file)
@@ -2,6 +2,18 @@ ardour { ["type"] = "Snippet", name = "Plugin Utils" }
 
 function factory () return function ()
 
+       -------------------------------------------------------------------------------
+       -- List all Plugins
+       for p in ARDOUR.LuaAPI.list_plugins():iter() do
+               print (p.name, p.unique_id, p.type)
+               local psets = p:get_presets()
+               if not empty:empty() then
+                       for pset in psets:iter() do
+                               print (" - ", pset.label)
+                       end
+               end
+       end
+
        -------------------------------------------------------------------------------
        -- add a Plugin (here LV2) to all mono tracks that contain the pattern "dru"
        -- and load a plugin-preset (if it exists)