Files
photoreport/packages/metadata
spark 98181e3f07
ci / rust (pull_request) Successful in 4m12s
ci / typescript (pull_request) Successful in 7m54s
feat(desktop): sync Lightroom Reject to library and retract deliveries (BIT-174)
Write/read XMP-xmpDM:Pick for Attribute filters; watch local exports and on Reject delete the file and PATCH REJECT so the server retracts every destination.
2026-11-03 23:32:32 +00:00
..

packages/metadata

Photo Mechanic-style metadata, shared by web, desktop and server.

  • template.ts: {variable} templates with modifiers ({sport:upper}, {n:pad3}).
  • codes.ts: code replacement (\v7\ → "Miguel Silva (VSC)"), imported from tab-separated lists.
  • iptc.ts: the IPTC fields we fill, mapped to IIM and XMP tags; applyTemplate and toExiftoolArgs. title holds the names of the people in the photo. IIM length limits are reported, not truncated silently (XMP keeps the full text).
  • vars.ts: the variables every template can use (event, date in Lisbon time, season, players, photographer).
  • paths.ts: folder and file-name templates for deliveries (FPA and Liga examples in DESTINATION_EXAMPLES).

Open point: the target tag for Photo Mechanic's "Creator's Identity" is not mapped yet; confirm it from a file exported by Photo Mechanic.