Skip to content

🚀 v3.1

Latest

Choose a tag to compare

@anderbggo anderbggo released this 11 Oct 17:12

Google Photos Matcher v3.1

✨ New: Force match

When a normal Match run ends with errors or unmatched files, a new Force match button appears. It asks for confirmation, then retries those files with riskier fixes:

  • Wrong file extension: files whose content is a different format (for example, a PNG saved as .jpg) are renamed to their real extension.
  • Missing media: if exactly one unused file has the JSON's name with a different extension (for example, the JSON says .HEIC but the file is .jpg), that file is used.
  • Invalid JSON values: invalid GPS coordinates or descriptions are dropped; the date is still restored.
  • Damaged metadata: ExifTool first retries while ignoring minor errors, then rebuilds the file's metadata. As a last resort, it removes the metadata already in the file before writing the Google Photos data.

These steps run on a temporary copy; the original is only replaced if a step succeeds. Live Photos only get the safe retry, so the photo stays linked to its video.

Forced results are saved in MatchedMedia/ForcedMatches so you can review them separately. Files that still fail stay where they were with their JSON. They count as unmatched and are listed in the CSV report with the reason.

📁 Simpler output folders

  • MatchedMedia and EditedRaw are now single flat folders: the year and album subfolders from Takeout are no longer recreated.
  • When two files have the same name, the new one gets a number (photo(1).jpg) instead of failing. Existing files are never overwritten.
  • A Live Photo and its video, or an edited photo and its original, get the same number so they stay together.

🎨 Interface

  • Removed the "Already done" counter. The counters are now Matched, Errors and Unmatched.
  • The Force match button and its warning are available in English and Spanish.

🛠️ Under the hood

  • The code is split into clearer modules: matching.py, metadata.py, exiftool_runner.py and translations.py (replacing auxFunctions.py).
  • File formats are detected from the file's content (JPEG, PNG, WebP, TIFF, HEIC, MP4/MOV/3GP, MKV), not just its extension.
  • New regression tests cover Force match, the flat output folders and when the Force match button appears.

⚠️ Notes

  • Make a backup before using Match or Force match. Force match may remove metadata already in a file (camera, lens, etc.) when there is no other way to write the Google Photos data.
  • Files that can't be forced: MKV videos (ExifTool can't write them), JSON files without a date, and matches where several files could be the right one.
  • If you run several exports into the same output, files are now numbered instead of placed in per-year subfolders.

Full changelog: v3.0...v3.1