Re: [darktable-dev] Image queries in Lua API.

2017-02-18 Thread Tobias Ellinghaus
Am Samstag, 18. Februar 2017, 08:42:13 CET schrieb Holger Klemm: > Hallo August, > you can use the utility sqlite3 to modifiy a sqlite database. > Have a look at my database_statistics.lua script. > http://www.multimedia4linux.de/images/darktable/plugins/ > database_statistics-2.1.tar At least I f

Re: [darktable-dev] Image queries in Lua API.

2017-02-18 Thread Tobias Ellinghaus
Am Freitag, 17. Februar 2017, 22:06:34 CET schrieb August Schwerdfeger: > In terms of the interface, this would not require full access to the SQL > database -- only a way to take the existing set of collection rules from > 'darktable.gui.libs.collect' and use them independently of the GUI, > apply

Re: [darktable-dev] Image queries in Lua API.

2017-02-17 Thread Holger Klemm
Hallo August, you can use the utility sqlite3 to modifiy a sqlite database. Have a look at my database_statistics.lua script. http://www.multimedia4linux.de/images/darktable/plugins/ database_statistics-2.1.tar Holger Am Freitag, 17. Februar 2017, 00:06:36 CET schrieb August Schwerdfeger: > I am

Re: [darktable-dev] Image queries in Lua API.

2017-02-17 Thread August Schwerdfeger
In terms of the interface, this would not require full access to the SQL database -- only a way to take the existing set of collection rules from 'darktable.gui.libs.collect' and use them independently of the GUI, applying them instead to the table of images from 'darktable.database'. Is this somet

Re: [darktable-dev] Image queries in Lua API.

2017-02-17 Thread Tobias Ellinghaus
Am Freitag, 17. Februar 2017, 00:06:36 CET schrieb August Schwerdfeger: > I am trying to reimplement, using Darktable's Lua API, some parts of > my workflow that I had previously jury-rigged using external Python > scripts that modify the database directly. > > One of these tasks involves checking

[darktable-dev] Image queries in Lua API.

2017-02-16 Thread August Schwerdfeger
I am trying to reimplement, using Darktable's Lua API, some parts of my workflow that I had previously jury-rigged using external Python scripts that modify the database directly. One of these tasks involves checking that there is no image in the database with a given title. In my previous impleme