feat(ingest): on-camera star ratings + backfill (BIT-146) #147

Merged
spark merged 1 commits from task/BIT-146-camera-rating-ingest into main 2026-11-03 12:45:02 +00:00
Owner

Summary

  • Read EXIF/XMP Rating at ingest → photos.rating + PICK (Escolhida)
  • Worker backfill: re-read stored originals (newest first) so already-imported starred frames work with Melhores / filters
  • Mark exif.cameraRatingChecked so files without stars are not re-scanned forever

Test plan

  • vitest run --config vitest.unit.config.ts src/ingest/exif.test.ts
  • tsc --noEmit in apps/api
  • After deploy: starred JPEGs in library show stars/Escolhida; Melhores… prefers them
## Summary - Read EXIF/XMP `Rating` at ingest → `photos.rating` + `PICK` (Escolhida) - Worker backfill: re-read stored originals (newest first) so already-imported starred frames work with Melhores / filters - Mark `exif.cameraRatingChecked` so files without stars are not re-scanned forever ## Test plan - [x] `vitest run --config vitest.unit.config.ts src/ingest/exif.test.ts` - [x] `tsc --noEmit` in apps/api - After deploy: starred JPEGs in library show stars/Escolhida; Melhores… prefers them
spark added 1 commit 2026-11-03 12:40:36 +00:00
feat(ingest): apply on-camera star ratings and backfill existing photos
ci / rust (pull_request) Successful in 4m41s
ci / typescript (pull_request) Successful in 11m17s
9c5463f337
Read EXIF/XMP Rating at ingest into photos.rating and PICK, and have the
worker re-scan stored originals so already-imported starred frames show up
for Melhores / Escolhidas without waiting for a new upload.
spark merged commit f7570f8706 into main 2026-11-03 12:45:02 +00:00
Sign in to join this conversation.