SDK: photo:getRawMetadata() reports incorrect field when .thm sidecar present

  • 3
  • Problem
  • Updated 7 years ago
The SDK 4.0 method photo:getRawMetadata (nil) incorrectly returns a value for the field "description" under the following conditions: A .thm sidecar is present when a .mov file is imported, and the .thm sidecar contains the metadata field XMP:Description.

To reproduce:

1. Start with a .mov video file with a .thm sidecar.

2. Use Exiftool to set the EXIF:ImageDescription, XMP:Description, and IPTC:Caption-Abstract to the string "Hello world".

3. Import the .mov file into LR 4.

4. Note that in the Metadata pane, Caption shows "Hello world".

5. photo:getFormattedMetadata (nil) contains the value "Hello world" for the field "caption" (correct).

6. photo:getRawMetadata (nil) contains the value "Hello world" for the field "description" (a bug).
Photo of John R. Ellis

John R. Ellis, Champion

  • 3903 Posts
  • 1037 Reply Likes

Posted 7 years ago

  • 3

Be the first to post a reply!