Lightroom SDK: get/set photo settings in xml/xmp format.

  • 3
  • Idea
  • Updated 7 years ago
In lieu of, or along with native support for xmp complete as sidecars, all file types, and virtual copies, I'd also like SDK support, for example:

xml = photo:getMetadataAsXml( options ) -- preferrably xmp compatible format.
photo:setXmlMetadata( xml ) -- preferrably xmp compatible format.

If xmp-compatible format, this would facilitate plugin initiated saving and reading of xmp-compatible metadata. If not, some of the same goals could still be accomplished, it would just be more limiting.

PS - this must support virtual copies too or its far less useful.

Even if xmp was not complete (same as now), it would still be very useful.

Thanks for considering this idea,
Rob
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 385 Reply Likes
  • bummed about the present lack of xmp sidecar support for all file types and virtual copies.

Posted 8 years ago

  • 3
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 385 Reply Likes
To clarify this 'Idea'

If this 'Idea' was implemented. User could opt, via the plugin that would get written, to save xmp for all file types including virtual copies.

Filenames for the non-raw xmp files (e.g. jpeg sidecar) could be:
{base}.{ext}.xmp

so they would never interfere with the proprietary raw filename {base}.xmp. (in which case they would only be useful in Lightroom via plugin, unless renamed).

Or, user could opt to use {base}.{ext} for interoperability with Bridge and other software, in which case there would be a warning issued should there ever be a conflict (e.g. trying to save xmp for jpg sidecar when already saved for raw).

virtual copy xmp files would be named:
{base}._v_{copy-name}.xmp
Again, only useful in Lightroom via plugin, unless renamed...