mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-15 07:53:55 +02:00
[yabridgectl] Index .vst3 files
It doesn't actually identify VST3 modules yet though.
This commit is contained in:
@@ -255,10 +255,14 @@ impl Config {
|
||||
|
||||
/// Search for VST2 and VST3 plugins in all of the registered plugins directories. This will
|
||||
/// return an error if `winedump` could not be called.
|
||||
pub fn index_directories(&self) -> Result<BTreeMap<&Path, SearchResults>> {
|
||||
pub fn search_directories(&self) -> Result<BTreeMap<&Path, SearchResults>> {
|
||||
self.plugin_dirs
|
||||
.par_iter()
|
||||
.map(|path| files::index(path).map(|search_results| (path.as_path(), search_results)))
|
||||
.map(|path| {
|
||||
files::index(path)
|
||||
.search()
|
||||
.map(|search_results| (path.as_path(), search_results))
|
||||
})
|
||||
.collect()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user