Description
Hey thank you so much for this script! I tried a Google Takeout back in July and got stuck migrating my photos due to the metadata separation when I hadn't found this tool yet.
I tried creating a new takeout yesterday, but it looks like my exported Google Photos results no longer have JSON files.

Additionally, I confirmed via https://jimpl.com/ that my exported photos now have their appropriate capture dates attached.

I couldn't find any information about this online but I was able to reproduce through multiple takeouts. Did Google fix this horribly annoying step of their migration process?
The issue with the script
Anyways, the script now logs Can't get date on ...
for every photo.

I'm still hoping to utilize this script for organizing my photos into folders by their capture date instead of being separated into many separate folders. Would it be possible to update the script to also check for if the photo already contains its capture date in its already existing metadata? Thank you!