Lightroom SDK: Import alternatives?

Community Beginner ,
Dec 04, 2020 Dec 04, 2020

Copy link to clipboard

Copied

Hi, I am developing a plug-in to automatically import photos into the catalog. It works, but I am now searching if there is a way to change LR behaviour during the actual import.

I am using LrCatalog:addPhoto, however that seems to be slow for a group of files and also always generates previews (1:1 it seems).

Is it possible to import a specific group of photos programatically? Or disable the preview generation?

I understand there are LrCatalog:triggerImportFromPathWithPreviousSettings and LrCatalog:triggerImportUI functions, but these rely on user activity or previous user settings, so they seem to be cumbersome or risky to use.

TOPICS
Import and export, SDK

Views

93

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Most Valuable Participant , Dec 05, 2020 Dec 05, 2020
Unfortunately, catalog:addPhoto() is all we've got.   [Use the blue reply button under the first post to ensure replies sort properly.]

Likes

translate

Translate

Translate
Most Valuable Participant ,
Dec 05, 2020 Dec 05, 2020

Copy link to clipboard

Copied

Unfortunately, catalog:addPhoto() is all we've got.

 

[Use the blue reply button under the first post to ensure replies sort properly.]

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 05, 2020 Dec 05, 2020

Copy link to clipboard

Copied

That's unfortunate, but thank you for clarification!

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines