jawj / iphoto-flickr

Ruby + Applescript to incrementally back up my iPhoto library to Flickr (abandoned due to the advent of Photos.app)
105 stars 19 forks source link

Photos.app #21

Open jawj opened 9 years ago

jawj commented 9 years ago

It would be nice to have the script work with the new Photos.app in 10.10.3, and even nicer to import the backup history from iPhoto.

But initial findings are unpromising. IDs are not consistent between iPhoto and Photos. This could probably be worked around using file hashes. But Photos also doesn't appear to expose a photo's full path to AppleScript (only the filename, which is not much use).

bruceadams commented 9 years ago

My take on this (I just started trying to get it to work) is to use the export function in Photos when we actually want to upload the media item to Flickr.

Since I haven't ever done a sync with Flickr before, the change from iPhoto to Photos doesn't impact me. Using file hashes for the initial sync-up sound reasonable, although we would have to export every single file out of Photos to compute its hash. That would only need to be done once, but it would take a long time to run.

A hack-job workaround is to add an option to this script that says: everything in this Photos library has already been synced up to Flickr. The script would then record all of current ids as synced and only sync new stuff on future runs.