Repository navigation
feat(photos): uploaded photos show when and where they were taken - #354
Merged
Merged
Conversation
The screensaver's photo details (date, people, place) came only from Immich. Uploaded photos showed nothing, though most carry the camera's date and GPS in their EXIF. - Uploads read DateTimeOriginal and GPS with exifr and store them (schema 37: taken_on, latitude, longitude, details_read_at). - Photos uploaded before this version are read once at startup, in the background. A file that can't be read is marked read, so it is never retried. - The place is named offline from a bundled town list (GeoNames, 1,000+ people, CC BY 4.0, 2.5 MB), so a location never leaves the server. "City, State" in the US, "City, Country" elsewhere, as for Immich. Each town reaches further the more people live there, so a photo in Midtown is New York City, not the small town across the river. Nothing within 50 km is no place. - The Photos page says how many photos have a date and a place, or that it is still reading them. People stay Immich-only: EXIF has no names.
adamecker
pushed a commit
to adamecker/HomeGlow
that referenced
this pull request
Oct 30, 2026
… into test/all-combined Upstream photoDetails migration renumbered 37 -> 43 (fork already uses 37 for routineStreakBase); fork migration numbering 28-42 preserved, including Google Tasks registrations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uploaded photos now get a date and a place for the screensaver's photo details, the way Immich photos already do.
What it does
DateTimeOriginal(orCreateDate) and GPS. Bogus camera dates (before 1900, in the future, 1970-01-01) are ignored.server/assets/places/, every place of 1,000+ people, 2.5 MB, CC BY 4.0). A photo's location never leaves the server. Bigger towns reach further, so a photo in Midtown is "New York", not the town across the river. Wording matches Immich: "City, State" in the US, "City, Country" elsewhere. Nothing within 50 km means no place.readPendingPhotoDetails). Unreadable files are marked read so they aren't retried.Migration
schema37-photoDetailsaddstaken_on,latitude,longitude,details_read_attohomeglow_photos.Tested
server/scripts/build-places.jsrebuilds the town list from GeoNames.