Lightroom SDK: Ability to alter filename of rendition-to-satisfy

  • 1
  • Idea
  • Updated 8 years ago
Presently, one can return a new filename from filter-settings function (member of params passed to filterContext:renditions method).

Unfortunately, the export will fail unless the export filter creates a file with name as expected by renditionToSatisfy.destinationPath.

i.e. the source-rendition filename will be altered, but the filter needs to produce the next-stage filename (rendition-to-satisfy) as specified - unaltered.

I be able to change the filename for rendition-to-satisfy as well.

That way, we can write export renaming filters that aren't klugy work-arounds.

PS - The documentation for the filter-settings function seems misleading to me - it says its passed a rendition-to-satisfy object, but its really more of a source-rendition object.

Use cases:
- Export filters that use custom metadata in the exported filenames.
- Export filters that use custom date-time formats in the exported filenames.
- Export filters that alter the unique filename resolution suffix in the exported filenames.
... - you get the idea ...

Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 389 Reply Likes

Posted 8 years ago

  • 1

Be the first to post a reply!