Lightroom SDK: LrInitPlugin - option to load with Lightroom

  • 2
  • Idea
  • Updated 4 years ago
  • Implemented
Presently init module only loads with lightroom when you have metadata or tagsets defined.

The former causes catalog update warning even when no metadata, the latter works just dandy.

Only problem is, its a "side effect" that many authors dont discover until way down the road, if at all, and it makes a plugin look like its got tagsets when it doesnt. And its not documented.

Maybe have an option: LrInitPlugin = { filename="Init.lua", loadUponStartup = true }, or something like that.

At a minimum, document to specify a tagset (even empty one) for load-upon-startup.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes

Posted 7 years ago

  • 2
Photo of Paul Kleczka

Paul Kleczka, Employee

  • 44 Posts
  • 5 Reply Likes
Good idea. I put this on the feature backlog.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
ok - the ball is rolling... :-)
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
This got sorta-implemented via 'LrForceInitPlugin' in Info.lua (introduced in Lr4) - thank you, BUT it still only initializes the plugin if there are menu functions. So, it's of no value if you need to initialize plugins without menu functions (I do), or of course if your plugin is to support Lr3. Not worth sweating at this point, in my opinion.