Skip to content
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

GetMediaList error #193

Open
tcazes opened this issue May 30, 2022 · 0 comments
Open

GetMediaList error #193

tcazes opened this issue May 30, 2022 · 0 comments

Comments

@tcazes
Copy link

tcazes commented May 30, 2022

Hi, i´m creating some integreation between python and Hero10. Gopto-py-api works well. But in some cases getMediaList method return a empty media vector. Even in the browser method return empy vector:

image

If i turnoff the camera and turn on it again, method respond correctly

image
*ignore MP4 files here

In my project i need to start and stop timelapse photo, but monitoring all photos that was taken by camera in near-real-time. Basicaly i do thats steps:

  1. Call media list to get last media name (for file name and folder)
  2. Start Time lapse photo (0,5s)
  3. Async call camera to check if predicted files was created ( i need to do that because getMediaList return busy when timelapse photo are taken)
  4. Wait N seconds
  5. Stop TimeLapse
  6. Stop all asyn proccess

I´m using a Hero10 Black. With firmware version H21.01.01.40.70 (Labs) connected by USB Cable

Could this problem be with the firmware? Has anyone ever experienced this?

Thansk for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant