Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuilds more photos than necessary (metadata = 1 hour off) #16

Closed
rprieto opened this issue Oct 6, 2014 · 1 comment
Closed

Rebuilds more photos than necessary (metadata = 1 hour off) #16

rprieto opened this issue Oct 6, 2014 · 1 comment
Labels
bug Existing bug

Comments

@rprieto
Copy link
Member

rprieto commented Oct 6, 2014

On one occasion, thumbsup tried to rebuild more photos than necessary.
Adding some debugging, it seemed that:

file real date (in Finder) in thumbsup
source file Sun May 25 2014 19:09 metadata.json said 1401012582000 (Sun May 25 2014 20:09:42 GMT+1000)
destination thumbmail Sun May 25 2014 19:40 fs.stat said 1401010814000 (Sun May 25 2014 19:40:14 GMT+1000)

So the cache data (metadata.json) was an hour off, and the destination seemed out of date - when it really wasn't. Deleting metadata.json and doing a full rebuild fixed it.

Note: A diff between the old and rebuilt metadata.json shows many photos where fileDate is exactly 1 hour apart. Since this happened the day after daylight savings, it could be related?

@rprieto rprieto added the bug Existing bug label Oct 8, 2014
@rprieto
Copy link
Member Author

rprieto commented Feb 28, 2017

After a lot of troubleshooting, still can't reproduce. This should be fixed by the move to exiftool-json-db for the database format, which has much better test coverage than the old "metadata" logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing bug
Projects
None yet
Development

No branches or pull requests

1 participant