Lightroom SDK: Import alternatives?

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.

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

 

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

TOPICS
Import and export, SDK

Views

29

Likes

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

Lightroom SDK: Import alternatives?

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.

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

 

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

TOPICS
Import and export, SDK

Views

30

Likes

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
Dec 04, 2020 0
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

Report

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

Copy link to clipboard

Copied

That's unfortunate, but thank you for clarification!

Likes

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
Reply
Loading...
Dec 05, 2020 0