Repository navigation
Conversation
- Immich >= 3.2: album contents via POST /api/search/metadata using the structured filter shape and cursor pagination; assetCount cross-check; version check; trashed/hidden assets excluded to match assetCount - Region via AP_TLD (default de): drive URL, EU/NA upload host and cookie names derived; AP_CONTENT_URL / AP_*_KEY / AP_USER_AGENT overrides - Target is an Amazon Photos album (VISUAL_COLLECTION), found by name or created; uploads to root, then batched PATCH .../children - Deletion only when all Immich data is complete; deletion brake (MAX_DELETE_FRACTION / MAX_DELETE_COUNT); AP_DELETE_MODE trash|album_only; adopted (pre-existing) Amazon nodes are never trashed - DRY_RUN, *_FILE secrets, secret redaction in logs, filename sanitising, no redirect following (expired session -> exit 3) - Streaming download/upload with MAX_FILE_MB, SYNC_TYPES, 409 resolution by MD5, atomic versioned state (v2) with migration, HEALTHCHECK_URL - Container: non-root UID 10001, alpine pinned by digest, 0600 state/log, SIGTERM forwarding; README for local build only - Replace GHCR push and Codacy workflows with a SHA-pinned CI workflow - Tests: unittest with mocked urlopen covering pagination, brake, missing album, count mismatch, dry run, migration, filenames, regions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Immich >= 3.2 support via cursor-paginated search, amazon.de as default region, Amazon Photos album as sync target, deletion brake, dry run, secrets from files, non-root container, German setup guide. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ums, reboot - Using an existing Amazon Photos album and verifying its ID in the dry run - IMMICH_URL via hostname/IP instead of a shared Docker network - Simpler cookie lookup via DevTools Application/Storage tab - Tuning the deletion brake for albums that change completely and often - Behaviour after a Docker host reboot Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
amazon.de answers album add/remove gzip-compressed without being asked to. urllib does not decode it, so json.loads failed with "'utf-8' codec can't decode byte 0x8b" although the request succeeded. The nodes stayed in pending_album_add and every run ended with errors (exit code 1). _request now decompresses when Content-Encoding is gzip or the body starts with the gzip magic bytes. Test: gzip reply to the album add counts as success. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EwrRMu3NizWuJ5xapVnYd5
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.
No description provided.