-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
download file issue #9
Comments
i have made a couple of extra pics and now it is working again. Sorry for the ticket |
Is it possible to execute a command or bash script after every file that is downloaded? |
Every file? Or just every time the camera connects and uploads? If it is after each time there is an upload, you could add some code after the Popen command around line 165. Or if you want to just monitor the directory for new files you could take a look at the inotify tools. You might find this link useful: Good luck. |
that is very helpful, thanks. I am working on a motorized panoramic head to take virtual tours, my goal is to automate the entire process of taking and processing the images, even during the making of the tour. I want to transfer the images after every 360 degree recording (that contains 5 pics) to process the images to an 360 degree image during the recording of the next panoramic image, and so on. My last challenge is to put the camera in transfer mode after every 360 degree recording. I think the only way to do this is by pressing the menu button en than twice the control button with a micro servo motor. Maybe you have an other idea? |
I having the following issue, any idea what is going wrong?
hans@hans-neon:~$ python ~/bin/sony-pm-alt.py
2017-10-26 19:35:25,608 [INFO ] Server starting
2017-10-26 19:35:25,608 [INFO ] Setting download dir [PHOTO_DIR] to: /home/hans/Afbeeldingen/flashair/
2017-10-26 19:35:25,608 [INFO ] Setting LD_LIBRARY_PATH to: /usr/local/lib
2017-10-26 19:35:41,143 [INFO ] received MtpNullService from ('192.168.178.20', 1900)
2017-10-26 19:35:41,561 [INFO ] received MtpNullService from ('192.168.178.20', 1900)
*** Fout ***
File '/store_00010001/2017-10-26_00040000/DSC05586.JPG' does not exist.
*** Fout (-2: 'Bad parameters') ***
Gebruik de optie '--debug' voor het verkijgen van debug-informatie.
Debug-informatie kan helpen bij het zoeken naar de oplossing van een
probleem. Als u van plan bent om fout- of debug-meldingen op te sturen
naar de gphoto-mailinglijst gphoto-devel@lists.sourceforge.net, voer
dan gphoto uit als volgt:
Verzeker u ervan dat er voldoende aanhalingstekens rond de argumenten staan.
The text was updated successfully, but these errors were encountered: