Lightroom Classic 9.0: SDK ignores values set in updateExportSettings function (Timelapse plugin)

  • 6
  • Problem
  • Updated 1 month ago
  • Solved
  • (Edited)
A bug seems to be introduced with version 9.0 of Lightroom that when a plugin designer sets exports settings using the "updateExportSettings" of the Lightroom SDK all these settings are ignored and default settings are sent for the export job.

When the following code is used, the files are NOT renamed on export. The exported file have the same name as the original files.

updateExportSettings = function( settings )

    settings.LR_collisionHandling = "rename"

    -- Rename settings
    settings.LR_renamingTokensOn = true
    settings.LR_tokenCustomString = ""
    settings.LR_tokens = "{{naming_sequenceNumber_5Digits}}"


I do not know if this is the best place to put this, Adobe seems to have deleted the Lightroom SDK forum.
Photo of Allen Gambrell

Allen Gambrell

  • 1 Post
  • 0 Reply Likes

Posted 3 months ago

  • 6
Photo of Bhargav

Bhargav, Official Rep

  • 82 Posts
  • 20 Reply Likes
Hi Allen,

Thanks for reporting the issue.
We'll investigate and get back to you.

Meanwhile, Can you provide a sample script to replicate the issue?


Photo of Gunther Wegner

Gunther Wegner

  • 34 Posts
  • 17 Reply Likes
I can confirm this problem, it's a big issue for me and the users of my software who rely on my Custom Export Plugin for Lightroom.

Here is a sample ServiceProvider script:
local LrDialogs = import 'LrDialogs'
return {
showSections =
{ 'fileNaming', 'imageSettings', 'exportLocation' },

updateExportSettings = function( exportSettings )
LrDialogs.message("Called") -- this will be called,
-- but still the exportSettings
-- won't be changed
-- export will happen in JPG.
exportSettings.LR_format = "TIFF"

processRenderedPhotos = function( functionContext, exportContext )
local exportSession = exportContext.exportSession
local renditions = exportSession:renditions{ stopIfCanceled = true }
for i, rendition in renditions do
success, pathOrMessage = rendition:waitForRender()

If the Plugin is being called by a preset, which sets format = "TIFF", it will show the right format (tiff) in the dialog, but then still export jpgs.

I'd really appreciate if a fix could be provided asap! Thank you!

Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 6494 Posts
  • 1436 Reply Likes
This should be resolved by the 9.1 update released earlier today. Please give it a try and let us know if you still see the issue after updating.  Thank you for your patience!
Photo of John R. Ellis

John R. Ellis, Champion

  • 4790 Posts
  • 1319 Reply Likes
"Adobe seems to have deleted the Lightroom SDK forum."

Unfortunately, all of the scripting and SDK forums were merged into their parent forums as part of the ugly migration from the Jive platform to Khoros.   Most of the old LR SDK forum content is still there, though it's much harder to search, and it's much harder for a plugin developer to monitor just SDK content.

Regardless, this forum (the official feedback forum) is the place to post bug reports.