Commit Graph

6 Commits

Author SHA1 Message Date
Tim Almdal
11477cbc3e Correct the reference to $item->id 2009-05-11 14:32:18 +00:00
Bharat Mediratta
977d0da9f3 Refactor the exif module to denormalize the stored data. This way we
have a single exif_record for each item instead of 1 per key.  It's
about 5x faster to scan photos this way.
2009-05-11 03:53:44 +00:00
Tim Almdal
b6f0d17565 Change the name of the model from exif_info to exif_record So item
deletes won't fail.
2009-02-21 16:41:35 +00:00
Bharat Mediratta
590a4677f3 Tweak EXIF extraction code to be more robust.
* Create Exif_Record_Model to track whether we've scanned the EXIF
  data for this photo or not.  This allows us to track photos that
  don't have EXIF data (and won't have any Exif_Keys)

* Blow away old Exif_Keys when extracting, else we hit unique
  index constraints.

* exif::_get_stats() -- before it was running the task forever
2009-02-15 08:08:22 +00:00
Bharat Mediratta
410aabf124 exif_data -> exif_keys
This was breaking delete.
2009-02-14 22:25:36 +00:00
Tim Almdal
19f29fb1d6 Exif data is now collected when an image is added. 2009-02-10 16:28:50 +00:00