Lightroom SDK: stack ops

  • 10
  • Idea
  • Updated 1 year ago
1st choice would be a complete set of stack ops, but my present need is just to be able to expand a stack so a photo can be selected that's under another. Another solution to my immediate need (and some others) would be to have the 'setSelectedPhotos' method always expand stacks as necessary *and* make active whatever source is needed to make the specified photo(s) selected (at least as an option...).
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 384 Reply Likes

Posted 7 years ago

  • 10
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 818 Reply Likes
What do you mean by "stack ops"? What full list of APIs would you like to see supported on stacks?
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 384 Reply Likes
Hi Chris, how's 'bout:

- Create Stack
- Delete Stack (remove all from stack)
- Set Stack Position (for photo already in stack)
- Insert in stack at position (e.g. top, by index, bottom, ...)
- Remove from stack
- Expand stack (and optionally select all).
- Collapse stack
- Put stack in a new blank temporary collection, and expand.
- Put stack in the quick collection (or present target collection)...

Get the idea? - perhaps this list could be consolidated and optimized, but the general idea is to be able to do anything and everything to a stack from a plugin.

Bonus Ideas:
- the ability to name stacks and have a photo be in more than one stack.
- be able to define stack types and tie different actions to different stack types.

Thanks,
Rob
Photo of Bryn Forbes

Bryn Forbes

  • 157 Posts
  • 21 Reply Likes
For my needs (batch stacking bracketed photos and ability for external programs to find panoramas), most important ops would be put specified photos in a stack, and remove specified photos from a stack
Photo of Bryn Forbes

Bryn Forbes

  • 157 Posts
  • 21 Reply Likes
This reply was created from a merged topic originally titled Lightroom: allow plugins to create stacks.

It'd be great if the API gave access to stacks. I'd like to be able to use panorama, and HDR programs that automatically determine groups of images to be able to group those images in to a stack. Examples: Autopano pro by Kolor lets you find the panoramas automatically. Photomatix batch processing also automagically finds the bracketed sets. Since the built in autostack by capture time doesn't work for all situations, it seems a prime opportunity to let plugins do this autostacking.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 384 Reply Likes
This reply was created from a merged topic originally titled Lightroom SDK: Support stack position changes..

At present, a plugin can only set the stack position when adding a photo to the catalog. I would also like to be able to alter stack-position after the fact, for a variety of reasons, including plugin synchronization of proprietary xmp-like info, i.e. if plugin has saved proprietary xmp-like file, which includes stack position, that info can be applied to the catalog by plugin, including stack-position.
Photo of Igor Shishkin

Igor Shishkin

  • 4 Posts
  • 1 Reply Like
My +1 for that feature. I'm developing the plugin [0] to find duplicates and stacking them is the most obvious and native way to group photos within the single collection. Ability to manage stacks from SDK would really improve UX in my case.
Thanks.

[0] https://github.com/teran/deduplicator