-
Notifications
You must be signed in to change notification settings - Fork 192
Description
Also 2019 MAX is not supported by OpenGoPro still uses most http commands described here.
I need to delete specific folder (with images) on GoPro, but as I found out I need to do it by also providing the name of 1st image in file group:
https://gopro.github.io/OpenGoPro/http#tag/Media/operation/GPCAMERA_DELETE_FILE_GROUP
When sending this command deletion starts... If I have few files everything works fine and http response with code 200 is returned, but if I need to delete folder with all 999 images the is a timeout or something, sometimes error returns sometimes it's real timeout.
I was trying to set timeouts, read again folder with "new" 1st image in file group as after deletion stating the 1st image in file group is changing.
Then executing deletion again with "new" 1st image in file group. Then continuously doing this again until folder is really gone.
But in most cases GoPro turns some "protection" for incoming commands and is blocking them or it just hangs or something.
So, after all this description can somebody, please describe what would be the best approach to delete the folder?