Apply 'Load all depth folders' to resamplers, wavtools, dll phonemizers and UTAU plugins too.
related issue: #1518
After this PR, the "Load all depth folders" setting item will also be applied to resamplers, wavtools, dll phonemizers and UTAU plugins. This will greatly increase OpenUtau's startup speed if the user has plugins or resamplers with many DLLs and complex path structure, such as hifisampler
I don't know if this should be a separate setting item from the current "Load all depth folders" for singers. feel free to share your idea.
Checking dlls could be slow. LibraryLoader.IsManagedAssembly() was added to speed this up but probably not enough. Are you sure merely searching plugin.txt and .exe files matter? I have a feeling that all we need is to not read into Python runtime folder.
I don't know how this matter will be settled, but I personally would like to see it separated from the voice bank setting.
Checking dlls could be slow.
LibraryLoader.IsManagedAssembly()was added to speed this up but probably not enough. Are you sure merely searchingplugin.txtand.exefiles matter? I have a feeling that all we need is to not read into Python runtime folder.
For UTAU plugins, we're already only searching plugin.txt. The problem is both UTAU plugins and external DLL phonemizers are installed into Plugins folder, so if there is a UTAU plugin with many DLLs, especially when it is also developed with dotnet, it will slow down the loading process of DLL phonemizers.