Skip to content

How to speed up --update #1388

Answered by RhetTbull
chengguangnan asked this question in Q&A
Jan 15, 2024 · 3 comments · 3 replies
Discussion options

You must be logged in to vote

I think you are right. Looking at the code, EDITED_SIG_DIFFERENT occurs when the signature stored in the database of the exported file differs from the signature of the edited file in Photos.

I'll need to think about how it might be possible to fix this. I could compute the fingerprint (hash) of the edited file and store that in the export db. This would be a bit slower but would guarantee no duplicate exports.

There's a modification time in the Photos database and that would be the logical choice to compare. However, on Photos <= version 4.0, the modification date/time was adjusted any time the photo's metadata (e.g. tags) were changed so this wasn't reliable. I've been developing osxpho…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@RhetTbull
Comment options

Comment options

You must be logged in to vote
2 replies
@RhetTbull
Comment options

Answer selected by chengguangnan
@chengguangnan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants