mirror of
https://github.com/immich-app/immich
synced 2026-08-29 13:15:45 +00:00
The `duplicates` key of `--json-output` was only populated from `checkForDuplicates`, which asks the server about the checksums of the whole batch at once. That check cannot detect files that are duplicated within the batch itself, so those are handed to `uploadFiles`, which the server then rejects with `AssetMediaStatus.Duplicate`. `uploadFiles` counted them for the "Skipped N duplicate assets" log line but returned them as new assets, so they never reached the json output. It now returns them separately and `uploadBatch` merges them into `duplicates`. Closes #24291 |
||
|---|---|---|
| .. | ||
| cli | ||
| e2e-auth-server | ||
| plugin-core | ||
| plugin-sdk | ||
| scripts | ||
| sdk | ||