Marcus Meissner wrote:
>> $ canon_run.sh
> 
> This script needs to include
> 
>       set-config capture=1   as first thing passed to gphoto2 --shell.
> [...]
> I dont understand the last 2 lines of canon_run.sh
> 
>       gphoto2 --capture-image --interval  1 --hook-script 
> /home/rafi/bin/test-hook.sh
>       echo capture-image-and-download | gphoto2 -I 1 --filename 
> "%y-%m-%d_%H:%M:%S.jpg" --hook-script ./test-hook.sh --shell
> 
> The --capture-image will not download, so not trigger the hook.
> 
> This could be just:
>       gphoto2 --capture-image-and-download --interval  1 --hook-script 
> /home/rafi/bin/test-hook.sh

Oops, sorry, that was the wrong version of the script; I forgot we'd left it in
a bit of a mess when we did testing to try to figure out what was going wrong.
In any case the combination of "set-config capture=1" and
"--capture-image-and-download" seems to have fixed things.  I wonder why it
worked with just --capture-image and without the set-config command before?

Anyway, thanks for your help.

 - Anne



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to