Closed p0n1 closed 12 months ago
I got many errors for my photos in 2017.
Done! Processed 4888 files. Files migrated: 3246 Files failed: 1642
I checked. It's due to live photo stuff. The script can not find correct metadata file for live photo videos. Maybe JPG is used for live photo in 2017 and then HEIC.
JPG
HEIC
IMG_0005.JPG IMG_0005.JPG.json IMG_0005.MP4
I fixed this by adding a more .jpg alias here for mp4. https://github.com/garzj/google-photos-migrate/blob/8b2b335913d4b2fb23e94ecf1c62371ddcb5a2bd/src/config/extensions.ts#L15
.jpg
mp4
Because I got many rename logs.
Renamed wrong extension .jpg to .mov: ~/google-photos-migrate/output/IMG_0005.mov Renamed wrong extension .jpg to .mov: ~/google-photos-migrate/output/IMG_0007.mov
But anyway it seems worked.
Done! Processed 4888 files. Files migrated: 4886 Files failed: 2
I got many errors for my photos in 2017.
I checked. It's due to live photo stuff. The script can not find correct metadata file for live photo videos. Maybe
JPG
is used for live photo in 2017 and thenHEIC
.I fixed this by adding a more
.jpg
alias here formp4
. https://github.com/garzj/google-photos-migrate/blob/8b2b335913d4b2fb23e94ecf1c62371ddcb5a2bd/src/config/extensions.ts#L15Because I got many rename logs.
But anyway it seems worked.