garzj / google-photos-migrate

A tool to fix EXIF data and recover filenames from a Google Photos takeout, preserving albums within the directory structure.
https://npmjs.com/package/google-photos-migrate
MIT License
104 stars 11 forks source link

[ISSUE] Album empty, though it should have pictures #23

Closed MeMyselfAndAI2023 closed 7 months ago

MeMyselfAndAI2023 commented 7 months ago

After completing the run via npx-Version twice, I find the following confusing thing happens: There are many album-folders that do not contain any pictures. Neither in "output" nor in "error", the folders are empty. Although those Albums in GooglePhotos contain pictures and I made a full Takeout of all folders via GoogleTakeout...?

Additional Info: The Pics themselves are there in the Takeout-folder, e.g. P1060024.jpg and P1060024.jpg.json

MeMyselfAndAI2023 commented 7 months ago

I re-checked and found that 34(!!) of 287 Album-folders generated in the output-Folder are empty!😱 Although all those pics and according jsons have been in the takeout and are also in output/Photos. What is going wrong here, what can I do?

garzj commented 7 months ago

Hm, hard to debug if I can't reproduce it.

What happens if you run the flat migration on one of the failed albums?

MeMyselfAndAI2023 commented 7 months ago

Thanks for the reply. I see now, that one of those folder in question already have only json-files in it, no jpg. Maybe Google did something wrong in creating the takeout? image The pics themselves are there, in Takeout, in other Albums and also they are in the "Photos"-folder of the full migration, but not in the migrated albums...?

MeMyselfAndAI2023 commented 7 months ago

I think I found a solution. If I make a new takeout of only the albums that have been empty after migration, then they include the jpgs. So I will migrate and add them like this one by one I guess.