Am 13.02.2015 13:05, schrieb Tobias Ellinghaus: > Am Freitag, 13. Februar 2015, 10:48:56 schrieb Christian Mandel: >> >> [Ignore redundant jpegs on import and reimport by option] > > After thinking about that I came to the conclusion that this would be best > done with Lua. Everyone has their own (albeit similar) wishes there so a set > of a few Lua scripts (or one with a few config switches) would be the best way > to go. Currently darktable allows to register a callback that is run after an
Is it already possible to add gui components from lua? I thought that this is not implemented yet. Anyway, I understand that there are different workflows, but IMO this is a very basic thing and there are not many options that would make sense. I talk just about camera generated jpegs (and maybe the ones that have been exported by dt if the export folder matches the one with the raw images), not on a general filter approach. When you click "import folder" it is more or less clear what to expect to happen, so more complex options such as date based filtering etc. make IMHO no sense in this import dialog. For these things there could be another import button "filter-based import" that offers recursive import, exif filters, file name filters etc. > to go. Currently darktable allows to register a callback that is run after an > import, so it would already be possible to remove images from the db that are > not wanted. However, that would still waste a lot of time since these images > get imported first, might get a sidecar file and maybe even a thumbnail > created. > To make this more useful we are currently discussing the idea of a list filter > for import and also export that could remove (or add) images to the list of > to-be imported/exported images. This won't land in the 1.6 series though, so This is something similar to what I described above, so not what I am talking about. Anyway, good to hear since this is a very good idea as well, it would complement the available options very well. > if anyone feels bored, a script that removes unwanted files from the imported > film would be worthwhile for the time being. To get you started, the important > callback is post-import-film > (http://darktable.org/redmine/projects/darktable/wiki/LuaAPI#post-import-film). Unfortunately, I am not a programmer, but maybe I will try. But with database operations, there is so much that I could accidentally break. Thanks for the hint, anyway. Best regards Chris ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ darktable-devel mailing list darktable-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-devel