Is the plugin "User Shell Script" working ?

Filipe Miguel Veloza filipe.veloza at ist.utl.pt
Thu Sep 21 14:07:07 BST 2023


Hi Maik,

created a new script with the example shared :
#!/bin/bash

echo "INPUT FILE: [ $INPUT ]"
echo "OUTPUT FILE: [ $OUTPUT ] "

exit $?


The result was :
digikam.general: Tool:        "User Shell Script"
digikam.general: Input url:   QUrl("file:///****/DSC_0147.JPG")
digikam.general: Output url:  QUrl("file://*****/BatchTool-xzXKFk-
a8dacc3d.digikamtempfile.JPG")

digikam.dplugin.bqm: Script stdout "INPUT FILE: [  ]\nOUTPUT FILE: [  ]
\n"
digikam.dplugin.bqm: Script stderr ""
digikam.dplugin.bqm: Script exit code: 0

Again seems the string $INPUT is identified & replaced, the problem
seems on the internal management of the plugin, to received the Input
QUrl and then transfer that to the variable used to input on the
temporary script for execution, right ?!

Thank you.


More information about the Digikam-users mailing list