Skip to main content
Known Participant
April 12, 2023
Question

custom metadata does not trigger republish in metadataThatTriggersRepublish

  • April 12, 2023
  • 2 replies
  • 395 views

Hello, 

I added a custom metadata to my plugin and in the metadataThatTriggersRepublish function : 

 

function exportServiceProvider.metadataThatTriggersRepublish( publishSettings )
  return {
    default = false,
    title = true,
    caption = true,
    keywords = true,
    gps = true,
    dateCreated = true,
    ["com.myplugin.mymetadata"] = true,
    customMetadata = true,
  }
end

 

But when I update mymetadata in a photo from a published collection, it does not mark the photo to republish. 

I don't understand why and if it's a lightroom bug or if I miss something? 
Do you have this working like expected? 

Thank you

This topic has been closed for replies.

2 replies

Inspiring
October 7, 2024

Same problem for me. I've experimented with a number of variations on the 'metadataThatTriggersRepublish' table. None of them seem to work: custom metadata changes never move the photo into the "republish" category.

 

I've also noticed that, no matter what I put in the table, standard metadata changes like ratings or keywords always move the photo into the "republish" category. The values in the table don't appear to have any effect at all.

Known Participant
April 23, 2024

It seems that when I reload the plugin "from the plugin manager", times to times, the photo with updated custom metadata are setted to republish. 

But I don't have any live update when I update this custom metadata. 
Is anyone had the same issue here ?