[Pkg-phototools-devel] Bug#529704: Bug#529704: can no longer download photos from RAM on Canon Powershot S50

Marcus Meissner meissner at suse.de
Mon May 25 14:19:27 UTC 2009


On Fri, May 22, 2009 at 10:40:53PM -0500, Anne C. Hanna wrote:
> 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.

--capture-image -I 1  did automatically download images in older versions,
now you need to specify --capture-image-and-download explicitly to get this
effect, this changed the behaviuour.

Ciao, Marcus





More information about the Pkg-phototools-devel mailing list