Skip to content

Fix VST3_PATH and LV2_PATH not being respected#1617

Open
hcsch wants to merge 1 commit intojuce-framework:masterfrom
hcsch:respect-lv2-vst3-paths
Open

Fix VST3_PATH and LV2_PATH not being respected#1617
hcsch wants to merge 1 commit intojuce-framework:masterfrom
hcsch:respect-lv2-vst3-paths

Conversation

@hcsch
Copy link
Copy Markdown

@hcsch hcsch commented Jan 25, 2026

Use the content of the environment variables as the default search path,
as is already the case for VST and LADSPA.

Re-order paths for LV2 and VST3 so that more local / more user-specific
paths come earlier in the search paths than more global / more
system-wide paths.
For LV2 this matches the recommendations on
https://lv2plug.in/pages/filesystem-hierarchy-standard.html#:~:text=Bundle%20Discovery

Existing search path order seems to be inconsistent across plugin
formats and OSes.

Fixes #1189

I've tested this to work (with JUCE as a dependency of BespokeSynth)

Use the content of the environment variables as the default search path,
as is already the case for VST and LADSPA.

Re-order paths for LV2 and VST3 so that more local / more user-specific
paths come earlier in the search paths than more global / more
system-wide paths.
For LV2 this matches the recommendations on
https://lv2plug.in/pages/filesystem-hierarchy-standard.html

Existing search path order seems to be inconsistent across plugin
formats and OSes.

Fixes juce-framework#1189
@hcsch
Copy link
Copy Markdown
Author

hcsch commented Apr 27, 2026

As the PR has been sitting around uncommented for a bit I had a quick look at the commit histories for the files I touched in an attempt to reach the right people.
Could I perhaps ask you, @reuk, to take a look at this if you have some time to spare? You seem to be the person who has contributed the most to the LV2 and VST3 plugin format support code in JUCE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Honor LV2_PATH/VST3_PATH

1 participant