You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sidecar is the server's asset response verbatim, and exifInfo/people
are optional fields on that response: Immich omits exifInfo entirely and
leaves people empty unless the search asks for them. We never asked, so
every sidecar we have ever written is missing capture date, camera make
and model, GPS coordinates, rating and faces.
Set withExif and withPeople on the metadata search.
Assets already on disk are skipped before the sidecar write, so this fix
alone would only ever reach newly downloaded files and existing archives
would keep their thin sidecars forever. Add --refresh-sidecars, which
rewrites the sidecar of an asset already present without re-downloading
the original.
Album membership, also reported in #9, is not addressed here: Immich's
asset response has no album field in any form, so no flag can supply it.
Split out to #11.
Refs #9
cmd.Flags().IntVar(&f.concurrency, "concurrency", 4, "number of assets to download in parallel")
62
63
cmd.Flags().IntVar(&f.retries, "retries", 3, "number of retry attempts for failed downloads/requests")
63
64
cmd.Flags().BoolVar(&f.dryRun, "dry-run", false, "list what would be downloaded without writing anything")
65
+
cmd.Flags().BoolVar(&f.refreshSidecars, "refresh-sidecars", false, "rewrite the .json sidecar of assets already on disk (originals are not re-downloaded)")
64
66
cmd.Flags().BoolVarP(&f.verbose, "verbose", "v", false, "log a line per asset instead of showing a progress bar")
0 commit comments