Repository navigation
plugins: standardize stock CLAP/VST3 IDs to org.lemonstudio.* (with backward-compatible loading) - #466
Merged
Conversation
…y alias compatibility
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Standardizes all 28 stock plugins' permanent IDs pre-alpha from
org.openstudio.*toorg.lemonstudio.*(and aligns the 3 oldest VST3 class IDs fromOpenStudio*toLemonStudio*), while keeping existing user presets, plugin preferences, saved containers, and wrapped projects working seamlessly:plugins/):CLAP_IDs moved fromorg.openstudio.*→org.lemonstudio.*(including the 3 legacy slugs:open-sampler→lemon-sampler,open-parametric-eq-2→lemon-parametric-eq,open-3x-osc→lemon-trio).OpenStudio*VST3_CLASS_IDs aligned to theLemonStudio*16-byte format (LemonStudioSmplr,LemonStudioParEQ,LemonStudioTrio!), matching the other 25 stock plugins..ospresetfiles updated (crates/os-session/factory-presets/):id=clap:org.openstudio.*→id=clap:org.lemonstudio.*) while preserving all binary and parameter bodies bit-for-bit.crates/os-session/src/plugins.rs,presets.rs,plugin_db.rs,project_plugins.rs,control/command.rs,crates/os-app/src/presets_ui.rs):plugins::canonical_uid()andplugins::same_uid()mapping legacyorg.openstudio.*CLAP IDs andOpenStudio*VST3 class IDs to their canonicalorg.lemonstudio.*/LemonStudio*IDs..ospresetfiles,.vstpresetfiles, plugin manager favorites/hidden lists, container members, wrapped plugin refs, and control-plane commands referencing old IDs continue to resolve cleanly.Verification
cargo test --locked -p os-session presets— 11 passed (loads all 379 factory presets against every stock plugin + newlegacy_openstudio_uids_remain_compatibletest).cargo test --locked -p os-session plugin_db&project_plugins— 13 passed.cargo test --locked -p os-clap -p os-vst3 -p os-host— 85 passed.cargo test --locked -p os-app maximus_slots_open_as_press&presets_ui— 8 passed.