plegall / Piwigo-write_metadata

3 stars 4 forks source link

keep metadata up-to-date with photo properties #13

Open plegall opened 4 years ago

plegall commented 4 years ago

Currently, the plugin only write metadata "on explicit request" by the administrator (on a single photo or with batch manager). It would be useful that metadata are updated as soon as photo properties are changed. This way, the downloaded photo would always have the up-to-date metadata.

Not a problem on the edit photo page, but become more complicated with batch manager actions (adding a tag on 2k photos is very fast, but rewriting metadata is not... Maybe writing metadata before any download would be smarter.

mattbk commented 2 years ago

If an API endpoint was written, such a thing could be scheduled with cron.