Preset directory watching via CLAP's invalidation factory #8
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
bcox/tymbal#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The preset-discovery provider declares one location and the host crawls it.
Nothing tells the host when the contents change, so a preset saved from the
standalone editor while the DAW is open will not appear in its browser until
the host re-indexes on its own.
CLAP has a mechanism for exactly this —
clap_plugin_invalidation_factory—and the design spec parks it deliberately:
That judgement still holds, but the workflow this project is built around —
author in the standalone editor, load in the DAW — is precisely the one where
it would be felt. Worth revisiting once there are enough presets that
re-scanning by hand is annoying.
Small in scope: a second entry-level factory reporting the files whose
modification invalidates the index.