-
Notifications
You must be signed in to change notification settings - Fork 59
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
How is gp_camera_wait_for_event working ? #27
Comments
I've not used |
I've just looked at the documentation of |
In gphoto2 version >= 2.5.6 it is possible to pass string value like 'FILEADDED' or 'CAPTURECOMPLETE' to the |
You can easily write your own Python function to call |
ok it very clear, thanks a lot |
I want to wait for a
GP_EVENT_FILE_ADDED
event. Here is my code:I would expect the function to wait until the event happen but instead it returns immediately
(0, None)
My workaround is to create a while loop like this:
which is working but does not feel right. Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: