Conversation
A RAW+JPEG camera writes two files per shot, so the flat folder showed every such shot twice in PhotoLab. With the flag, a JPEG is left out when a RAW of the same name (case-insensitive) sits in the same folder; JPEG-only shots are still linked. Pairing only looks within a folder, so a RAW and a JPEG filed apart are both kept. The summary reports how many paired JPEGs were left out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Author
tsvb
added a commit
that referenced
this pull request
Sep 27, 2026
…w style (#54) scripts/photolab-flatten.py grew into flatlink (tsvb/flatlink), a signed, notarized Swift tool installed with `brew install tsvb/tap/flatlink`. Remove the script and point the README and the Unreleased CHANGELOG entry at flatlink. Record that PhotoLab 9.12 writes the .dop beside the link, not the original, so the link folder holds the user's edits: keep it outside the library and back it up. List check-appcast-signature.sh in the project layout. Render a cask that passes brew style: `depends_on macos: :sonoma` and livecheck before auto_updates. The committed 0.5.1 cask is re-rendered by the script; the tap gets it with the next release. Supersedes #53. 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.
Why
Most cameras shooting RAW+JPEG write both files for every shot, so the flat folder from
photolab-flatten.pyshows each of those shots twice in PhotoLab. On EX400U'scapture_onearchive, 3,287 of the 3,784 JPEGs are the camera's copy of a RAW sitting beside them.What
--skip-paired-jpegsleaves out a JPEG (jpg/jpeg/jpe) when a RAW with the same name, ignoring case, is in the same folder.--ext: pairing is decided by what's on disk, not by which formats are being linked.README and the
[Unreleased]CHANGELOG entry updated.Testing
--ext jpg, with a RAW and JPEG in split folders, and a real run followed by an idempotent re-run./Volumes/EX400U/capture_one→/Volumes/EX400U/PhotoLab-All: 3,949 links (3,451 RAW, 497 JPEG-only, 1 TIFF), 3,287 paired JPEGs left out, no broken links, nothing written inside the source, and the re-run kept all 3,949.🤖 Generated with Claude Code