For each module preset I can specify if it should be auto-applied to matching images. If I define matching images with wild-cards - any new image will get the module with the preset-settings applied!
I was looking for a way to define a set of modules.
at least I now seem to be able to invoke the script.
Unfortunately I still seem to have issues to use it to activate my desired script at import.
Am still trying to figure out what is happening…
Import stops and darktable needs to be killed to resolve.
I need to further look into this.
It stops with “Add to library is not responding” when a try to import with the new camera-specific style for my EOS R7…
Restarting dt shows, that the image actually has been added to the library, but without the desired auto-added style …
If I use “copy and import” all works as expected. Using “add to library …” to get the image into darktable stalls the program …
You can look the official/apply_camera_style.lua script which does what you’re trying to do, to see how it’s done. Or you could just enable and let it do it for you.
The official script works as expected.
If I have time in the next days, I will see if I can understand what’s done with the scripts and spot a difference … (I am not a programmer though … )