creating tables (or other persistent data structures) in Lightroom Lua
i have complex data structure want able add lightroom plugin. know lightroom uses sqlite database. can add tables database either inside lightroom plugin or externally? see no documentation of api capabilities granting direct queries of sqlite database , of it's looking technique have @ disposal create own homebrewed database system using file system. not case. have guidance me?
the sdk api lets plugin define , store per-image scalar metadata fields (strings, enums, urls). such field can made visible user or not, , can made searchable, both user through ui , plugin through api. plugin define metadata string field , use smart-collection api search images string field meets specified criteria.
while technically possible modify sqlite catalog database, plugin authors haven't found viable. there no sdk api accessing catalog via sql. also, lr keeps database locked while running, plugin needs song , dance of writing command script containing sql queries, exiting lr, executing script, recording result in file, restarting lr. , of course, database schema undocumented , subject arbitrary change each minor release of lr.
More discussions in Lightroom SDK
adobe
Comments
Post a Comment