Writing Export Service Provider
Hi.
I'm writing Export plugin for Lightroom Classic and have some questions.
Hope someone will be able to answer them 🙂
Main idea of the plugin is to group photos that user selected for export into sets based on metadata, and then export each set with different settings.
I'm doing this in the exportServiceProvider.processRenderedPhotos(functionContext, exportContext).
Everything seems fine so far.
My questions are:
1. What should I do with original LrExportSession provided in the exportContext?
I can't find any mention of destructor or something similar in the SDK.
I suppose it consumes memory, and if user is exporting thousands of images this can be quite noticeable.
Should I just leave it alone and LRC will handle everything, or should I perform cleanup somehow?
2. What should I do (if anything) to make export filters attached in the export dialog to work with my newly created export sessions?
If this matters - export settings for new export sessions are copied from original export session and then some fields edited.
Hope someone will shed some lite on this.
