Repository navigation
Immich integration: import the Immich trash as duplicate decisions - #525
Merged
Merged
Conversation
New immich.url, immich.api_key and immich.path_mappings config. The web UI dashboard gets an Immich card that previews and applies the import: open groups where all but one copy are trashed in Immich keep the remaining copy, the daemon moves the others to the duplicates directory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Turns Immich's duplicate review into py-image-dedup decisions, via the Immich API (works for any Immich setup, no DB access).
immich.url,immich.api_key(secret,asset.readpermission; envPY_IMAGE_DEDUP_IMMICH_API_KEY),immich.path_mappings([{immich: /mnt/photos, local: /data/photos}]).ImmichClient(py_image_dedup/integrations/immich.py): pages throughPOST /api/search/metadata(withDeleted,trashedAfter), keeps trashed, non-offline assets. Tested against Immich v3.3.5's OpenAPI spec.GET /api/integrations/immich,POST /api/integrations/immich/import-trash({apply}), reusingStateStore.import_discarded_pathsfrom Import decisions from other tools, execute user decisions in dry run #524. Immich errors become HTTP 502 with a readable message.🤖 Generated with Claude Code