make raw-midi script pass unit-tests (no midi port on track)
[ardour.git] / scripts / addscopes.lua
index 8ac1519ee41ab6076ed9b1e215526afd07708578..deb3a5c814f769e172f600c97427968acf33c5b6 100644 (file)
@@ -2,9 +2,7 @@ ardour {
        ["type"]    = "EditorAction",
        name        = "Add Scopes",
        license     = "MIT",
-       author      = "Robin Gareus",
-       email       = "robin@gareus.org",
-       site        = "http://gareus.org",
+       author      = "Ardour Team",
        description = [[Add 'Inline Scope' Lua Processor to all Tracks]]
 }
 
@@ -36,7 +34,7 @@ function factory (params)
                                        -- get Nth Ardour::Processor
                                        proc = t:nth_plugin (i)
                                        -- check if it's a scope
-                                       if (not proc:isnil() and proc:display_name () == "Inline Scope") then
+                                       if (not proc:isnil() and proc:display_name () == "a-Inline Scope") then
                                                insert = false;
                                        end
                                        i = i + 1
@@ -45,7 +43,7 @@ function factory (params)
 
                        -- create a new processor and insert it
                        if insert then
-                               local a = ARDOUR.LuaAPI.new_luaproc(Session, "Inline Scope");
+                               local a = ARDOUR.LuaAPI.new_luaproc(Session, "a-Inline Scope");
                                if (not a:isnil()) then
                                        t:add_processor_by_index(a, pos, nil, true)
                                        ARDOUR.LuaAPI.set_processor_param (a, 0, 5) -- timescale 5sec