- packages/metadata: {variable} templates, Photo Mechanic code replacement, IPTC fields of the current pad (title = persons shown), IIM/XMP mapping, delivery folder and file-name templates (FPA, Liga)
- API: events with agenda and IPTC template, FTP logins, ingest worker (hash, dedupe, EXIF in Lisbon time, routing by agenda + capture time, previews), library culling, IPTC preview, code list, signed file URLs
- Realtime: Socket.io with Postgres LISTEN/NOTIFY fan-out
- Delivery: queue with fixed sequence numbers, 4000 px JPEG 100 with IPTC via ExifTool, WebDAV upload with retries, OCS share links, encrypted app passwords
- Web app: approved type and Lightroom-style workspace, grid/loupe with keyboard culling, players, IPTC panel, delivery queue, code list editor
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
15 lines
879 B
Markdown
15 lines
879 B
Markdown
# 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.
|