codez / ImportPhotoFolders

Import a folder hierarchy as albums into OS X Photos.
MIT License
246 stars 43 forks source link

Problems when importing lots of photos #27

Open pandelis opened 2 years ago

pandelis commented 2 years ago

I'm importing 20 000 photos from Picasa to Apple Photo using the ImportPhotoFolders. I have 21 big folders each corresponding to 1 year. After 2 or 3 folders imported, I began to have "Cannot Import Item unrecognizable file format or invalid data" error for all the files yet in the different folders. It took me a lot of time to find out that I just needed to restart Apple Photos and then, everything is ok. It may also be worth noting that you need not to have spaces nor parentheses in your files/folders names and only movies recognizable with QuickTime for the script to work.

jproudfo commented 2 years ago

Yeah, I've run into the same problem. There seems to be a limit on how many images Apple Photos will accept. After it reaches the limit, it just errors out. Seems to be a common issue in the Apple Support communities, as well. It may be useful for the script to restart Apple Photos each time it imports a number of photos (200?).