darktable-org/darktable — pull request #28 by sk1p (2012-08-09 02:14:02+00:00)
Title: read ratings from xmp metadata on import

The new Canon 7D firmware has the ability to set ratings in-camera. They are saved in the XMP property Xmp.xmp.Rating (from 0 to 5). Note that, unlike darktable, Canon sets this value to 0 by default, even for photos that were not rated using the new tool, so this is a change in behavior.