Webreaper / Damselfly

Damselfly is a server-based Photograph Management app. The goal of Damselfly is to index an extremely large collection of images, and allow easy search and retrieval of those images, using metadata such as the IPTC keyword tags, as well as the folder and file names. Damselfly includes support for object/face detection.
GNU General Public License v3.0
1.45k stars 76 forks source link

Delay write exif keywords #494

Open ronbruins opened 11 months ago

ronbruins commented 11 months ago

It would be nice to have the option to queue the writes of exif data back to the files. Now when assigning keywords to a large number of files start exif tool to do the job, and having a performance impact. Would it be possible to queue them and then start the actual update of the files when the job is started? This way a workflow can be finished and then the system can do the writing eg. overnight.

Webreaper commented 11 months ago

I already do this a bit (if you've read the technical readme you'll see details of how I conflate exif operations to minimise writes to the image files.

It would be pretty easy to add a delay so that exif writes were done after, say, 4 hours.

I could also put in a "work period" so that AI processing and exif writes were done between certain hours (eg 2am - 5am etc). The indexing and metadata scanning would always want to run immediately though so you get new images appearing as soon as they're added.