Re: Downloading only protected images
Peter Sonander <[email protected]> Mon, 25 Oct 2021 11:27:29 +0200
| Newsgroups | gmane.comp.multimedia.gphoto.user |
|---|---|
| Organization | S-Bilder |
| Message-ID | <[email protected]> |
Hi I found there was an old libgphoto2 installed by default in the Raspbian, when removing it and running gphoto2-updater everything started to work. Now I have a first working prototype where a Rasp pi mimics the functionality of Nikon WT-7. A feature request if I may as I am not an C programmer and have to rely on using gphoto2 and scripts :) A new command "--download-on-event". Download an image when a specific event occurs and continue to wait for new events, when the image has been downloaded trigger the hook script i specified. In my case I would then run the following command "gphoto2 --download-on-event FILECHANGED --hook-script processimage.sh" Thanks for a great tool, if I make a good packaging of the pi so I can mount it on the camera I will have save €1000 /Peter On 2021-10-20 16:56, Marcus Meissner wrote: > On Wed, Oct 20, 2021 at 04:48:22PM +0200, Peter Sonander wrote: >> Thanks Marcus >> >> Now it is up to me as a beginner in the linux world to get on my >> Raspberry >> Pi. I tried a tool called gphoto2-updater and selected to install the >> latest >> development version, but it still says UNKNOWN PTP Event 4007. Should >> the >> new event you added also reflect into GPhoto2? >> >> The versions I have now if running gphoto2 --version are: >> photo2 2.5.27.1 >> libgphoto2 2.5.22 > > you need to update libgphoto2, not (only) gphoto2. > >> libgphoto2_port 0.12.0 >> >> Are these the correct versions or is there another way to get the >> latest? > > Usually gphoto2-updater does the right thing... It seems to however see > an old > 2.5.22 libgphoto2, probably in the system :( > > Not sure if you can deinstall that perhaps. > > Ciao, Marcus _______________________________________________ Gphoto-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gphoto-user