@@ -37,7 +37,7 @@ class PluginListComponent::Scanner : private Timer,
3737 pathList.setPath (path); // set this so it is ALWAYS up-to-date in ::startScan()
3838 scanner.setNonOwned (owner.plugins .getBackgroundAudioPluginScanner ());
3939
40- const StringArray withPath { " VST" , " VST3" , " CLAP" };
40+ const StringArray withPath { " VST" , " VST3" , " CLAP" , " LV2 " };
4141 if (path.getNumPaths () <= 0 && withPath.contains (formatToScan.getName ()))
4242 {
4343 pathList.setSize (500 , 300 );
@@ -819,6 +819,10 @@ void PluginListComponent::optionsMenuCallback (int result)
819819 editPluginPath (" VST3" );
820820 saveSettings (this , true );
821821 break ;
822+ case 102 :
823+ editPluginPath (" LV2" );
824+ saveSettings (this , true );
825+ break ;
822826
823827 case 8 : {
824828 if (auto * world = ViewHelpers::getGlobals (this ))
@@ -870,6 +874,8 @@ void PluginListComponent::buttonClicked (Button* button)
870874 paths.addItem (100 , TRANS (" VST Path" ));
871875 if (plugins.isAudioPluginFormatSupported (" VST3" ))
872876 paths.addItem (101 , TRANS (" VST3 Path" ));
877+ if (plugins.isAudioPluginFormatSupported (" LV2" ))
878+ paths.addItem (102 , TRANS (" LV2 Path" ));
873879 if (paths.getNumItems () > 0 )
874880 {
875881 menu.addSubMenu (" Search Paths" , paths);
0 commit comments