Skip to content

Extract Add metadata values with a regular expression - #379

Merged
PierreRaybaut merged 1 commit into
developfrom
feat/add-metadata-extraction
Oct 7, 2026
Merged

PierreRaybaut merged 1 commit into
developfrom
feat/add-metadata-extraction

Conversation

@PierreRaybaut

Copy link
Copy Markdown
Contributor

Lets users set the metadata expected by application plugins (exposure time, shot number…) from object titles with Edit > Metadata > Add metadata..., without writing Python.

  • Optional extraction pattern (regular expression) searched in the formatted value: its first group, or the whole match, becomes the value. Objects without a match are left unchanged, unless If no match asks for an error; the preview shows them.
  • Scale factor for float and integer conversions (e.g. 0.001 to convert ms to s).
  • Metadata keys may now contain dots and hyphens, as plugin keys do. A Known keys list copies a key already present on the selected objects; it goes through the get_known_metadata_keys panel hook, which the plugin SDK branch will extend with keys declared by application recipes.
  • Fix: adding, pasting or deleting metadata now marks the workspace as modified.

Documentation (signal/image Edit menu pages, 1.4 release notes) and French translations (UI and docs) are updated. Tests: add_metadata_unit_test.py, add_metadata_app_test.py.

Assisted-by: Claude Opus 5.5

@PierreRaybaut
PierreRaybaut merged commit 4cf6e90 into develop Oct 7, 2026
6 checks passed
@PierreRaybaut
PierreRaybaut deleted the feat/add-metadata-extraction branch October 8, 2026 09:49
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.

1 participant