-
I'm trying to set up a workflow where I use osxphotos to periodically download photos and then import them into my main Lightroom catalog. Once in Lightroom, I'd love to have the option of querying details about a given photo in osxphotos again. Is there any metadata strategy I can use to make this easy? I was originally going to try and write the UUID to a metadata tag but am now seeing that they're only unique to a local instance so that won't survive in the long run. Is the best I can do using the filename/time and querying osxphotos with that? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Ah, I'm just realizing that the discussion on this issue is similar to what I was going to attempt to do but it still doesn't solve the issue of how to have a stable ID if you start using a new macos install right? |
Beta Was this translation helpful? Give feedback.
-
UUID works as long as you stay on a single Mac but as you noted, if you try to compare to a library from another Mac (or in some cases, if you have to use the Photos library repair tool), macOS changes the UUID. If you are using iCloud, there is a For example, there's a If you never modify the exported image, the show command could compute the fingerprint and find the matching photo ( |
Beta Was this translation helpful? Give feedback.
UUID works as long as you stay on a single Mac but as you noted, if you try to compare to a library from another Mac (or in some cases, if you have to use the Photos library repair tool), macOS changes the UUID. If you are using iCloud, there is a
Cloud GUID
globally unique identifier. There's also a fingerprint (a hash of some sort) that is unique to a given asset (though videos do not contain a fingerprint). Sometimes the GUID and the fingerprint are the same. For a sample image in my library, these have the value:AcoaTOYrVq2IUcpsJ0MyUoKkcZcB
-- as you can see it's a random-looking string of characters. This could be encoded in the exported image -- perhaps in the caption or as the Doc…