It's Python not Lua but this might be useful as an example. It's a standalone program that can read and write xmp files independently of darktable.
https://pypi.org/project/dtlapse/ On Fri, Nov 5, 2021, 8:25 PM Alejandro Criado-Pérez < alejan...@criadoperez.com> wrote: > If you figure out how this is done, please let me know as I also needed > to do exactly that :-) > > Thanks! > > On 3/11/21 19:03, Zener wrote: > > Hi. > > Can I write / read .xmp sidecar file by lua? > > I need to write some information to read it later by a lua script. > > > > Thanks. > > > > > ___________________________________________________________________________ > > darktable developer mailing list > > to unsubscribe send a mail to > darktable-dev+unsubscr...@lists.darktable.org > > > ___________________________________________________________________________ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org