librephotos icon indicating copy to clipboard operation
librephotos copied to clipboard

Photo Re-scan (aka Quick Scan)

Open alfwro13 opened this issue 6 months ago • 1 comments

Describe the enhancement you'd like At the moment from what I can see there is no quick way of re-scanning newly added pictures (unless I am missing something). It took me 3 days to perform (around 100K photos) initial scan and wrongly I have assume that subsequent scans will be quicker but that doesn't appear to be the case. Each scan takes equally long.

Describe why this will benefit the LibrePhotos There should be a way of performing quick scan just to add new photos otherwise using librephotos for large collections is will be unpractical.

Additional context Add any other context or screenshots about the enhancement request here.

alfwro13 avatar Dec 25 '23 16:12 alfwro13

The behavior you are describing is the expected behavior LibrePhotos should have in a normal scan. All possible images are added to the task list, but every image which does not have a newer modified timestamp then the last scan will get skipped. This is something you can test yourself on the demo server. The first scan takes around 7 minutes and the second one takes a second.

If you have deleted the last successful scan from the job list, this will trigger a complete rescan. If you moved all images, within the folder, this will also trigger a rescan. If it was modified by an external program and has a newer modified timestamp, this will also result in a rescan.

If you can give me steps on how I can reproduce this, I can do a bug fix :)

derneuere avatar Dec 26 '23 09:12 derneuere