๐ Bug Fixes
- Full-account Takeouts no longer resolve to an unrelated service folder (issue #156) โ
PathResolverServiceaccepted the input folder itself whenever any of its child folders merely contained a media file. In a full-account export theTakeoutroot meets that condition (e.g. viaGoogle Notizen), so it was treated as the Google Photos folder and Keep/Drive files were processed. With archives, the resolver returned the first subfolder matching the same weak rule, which depended on filesystem listing order and pickedDrive. A folder namedTakeout(including multi-part roots such asTakeout 2) is now never accepted as the Google Photos folder, and candidates inside a Takeout root are ranked deterministically: localizedPhotos from YYYYyear folders first, then folders holding per-media JSON sidecars (album-only exports), and the legacy media-file rule only outside a Takeout root. Directory listings are sorted, and an ambiguous result aborts with a message listing the candidates instead of silently processing the wrong folder. --inputnow clearly points at the Google Photos folder โ CLI help, the interactive picker prompt, README examples/options and the resolution error message all say to pass e.g.~/Takeout/Google Photos(localized folder name) instead of the Takeout root.- The effective Google Photos folder is written to the log file โ every run logs
Resolved Google Photos folder: <path>(including the late-extraction and--keep-inputclone paths), so the processed folder can be verified afterwards. - RAW EXIF date extraction no longer crashes on TIFF-based RAW files whose tag data lies past the 64 KiB head (e.g.
5G4A9394-uncompressed.DNG) โExifDateExtractorreads only the first 64 KiB of large files for the fast nativeexif_readerpath. TIFF-based containers (DNG/TIFF/RAW) may store IFD values beyond that window, soexif_readerthrew an uncaughtRangeError (end): Invalid value: Only valid value is 0: 1while reading a tag, failing Step 4 for the whole file. A rejected head-only read is now retried once with the complete file (recovering the correctDateTimeOriginal), and any remaining parser error is logged and treated as a native miss so the existing ExifTool fallback can take over instead of aborting.
โ๏ธ Maintenance
- Updated
win32to 6.4.0 โ the three FFI call sites (PlatformService.getDiskFreeSpace,WindowsSymlinkService,UpdateCreationTimeService) were migrated to the 6.x API:PCWSTRstrings viaarena.pcwstr()/toPcwstr(), strongly typed handles (HANDLE.isValid,HANDLE.close()) and enum extension types (FILE_SHARE_MODE,FILE_FLAGS_AND_ATTRIBUTES,SYMBOLIC_LINK_FLAGS), andWin32Result<T>soCreateFile/CreateSymbolicLink/GetFileAttributes/GetVolumeInformation/GetDiskFreeSpaceExfailures use the error code captured atomically at the call instead of a possibly-clobberedGetLastError(). Win32 6.3+ no longer ships a native helper DLL, so no MSVC or build-hook requirement is added;ffi_leak_trackeris pulled in transitively.
๐งช Tests
- RAW EXIF regression test โ asserts the cached
5G4A9394-uncompressed.DNGyields its real2017-01-05 13:52:55timestamp through the head-only โ full-file retry path instead of throwing. .tgze2e content check now runs with EXIF writing disabled โ the test compared the extracted JPEG byte-for-byte with the fabricated fixture while Step 7 was enabled, so on machines with ExifTool (CI/Linux) the injected EXIF made the comparison fail. The test now keepswriteExifoff, so it verifies the archive round-trip itself rather than EXIF output.- Regression tests for issue #156: full-account layouts (German
Google Fotos, Keep image, Drive subfolders) resolve correctly from theTakeoutroot and from its parent regardless of directory creation order; album-only exports resolve via JSON sidecars; ambiguous layouts throw instead of guessing; an e2e test verifies that only Google Photos files are moved while Drive/Keep files stay untouched, both for extracted folders and for the built-in tgz extraction path.
Full Changelog: v6.4.2...v6.4.3