--folder option exports no photos on macOS 26.4 (Tahoe) / Photos DB version 5001
## Bug Description
The `--folder` option in `osxphotos export` finds no photos to export on macOS 26.4
(Tahoe) with Photos database version 5001, even though `osxphotos query --folder`
correctly returns the expected number of photos.
## Steps to Reproduce
1. Run query to confirm photos exist in folder:
osxphotos query --folder "Drone" --count
→ Returns: 271
2. Run export with same folder filter:
osxphotos export ~/Desktop/test_ordner --folder "Drone" --update \
--directory "{folder_album}" --sidecar xmp --live \
--download-missing --filename "{original_name}" --verbose
→ Returns: "Did not find any photos to export"
## Expected Behavior
271 photos exported into subfolder structure under ~/Desktop/test_ordner/
## Actual Behavior
"Did not find any photos to export" — zero files copied.
## Additional Observations
- `--album "AlbumName"` works correctly for single albums
- `osxphotos query --folder "Drone"` correctly returns 271
- Deleting .osxphotos_export.db and retrying does not help
- Tested with both `--update` and without
## Environment
- osxphotos version: 0.75.6
- Python version: 3.14.3
- macOS version: 26.4.0 (Tahoe)
- Photos database version: 5001 (11.1)
- Platform: arm64 (Apple Silicon)
11 条评论