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,
> applying them instead to the table of images from 'darktable.database'. Is
> this something that would be straightforward to implement?

Absolutely not. The whole collection system in dt is FUBAR.

> --
> August Schwerdfeger
> [email protected]
> 
> On Fri, Feb 17, 2017 at 3:15 AM, Tobias Ellinghaus <[email protected]> wrote:
> > 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 that there is no image in the
> > > database with a given title. In my previous implementation, this could
> > > be done with a simple database query, but it does not seem to be
> > > directly
> > > supported in the Lua API. Is there any way to do this other than to
> > > iterate over every single image in the database and check its title?
> > 
> > No, unfortunately not. I guess adding a way to interact with the sql db
> > directly would be helpful for some cases. But it's not there.
> > 
> > > --
> > > August Schwerdfeger
> > > [email protected]
> > 
> > Tobias
> 
> ___________________________________________________________________________
> darktable developer mailing list
> to unsubscribe send a mail to [email protected]

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to