-
Notifications
You must be signed in to change notification settings - Fork 148
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
Document Delete Media API #74
Comments
I also need to know |
* Added Global Behaviors settings/documentation/status, added General Format setting (TLP<-->TLV and NLP<-->NLV transition), changed some setting names for clarity, added .proto file for Global Behaviors set-camera-control-status command (#72) Co-authored-by: Tim Camise <timothy.camise@gmail.com> * Sfoley/add set camera control status proto (#74) * Added proto file * updating copyrights from pre merge check in github action Co-authored-by: github-actions <github-actions@github.com> * Updated Camera Capabilities table on Open GoPro v2.0 for Kongs Phase … (#76) * Updated Camera Capabilities table on Open GoPro v2.0 for Kongs Phase 1.2 using cached Kongs JSON from v01.19.19 * Updated BLE Camera Capabilities table too... forgot to include in previous commit...derp Co-authored-by: Sean Foley <sfoley@gopro.com> Co-authored-by: Tim Camise <timothy.camise@gmail.com> Co-authored-by: github-actions <github-actions@github.com>
I am also interested in this feature. |
Seems to have been shipped in Hero10 v1.40 firmware. Path: /gopro/media/delete/file Param key: path Param value: XXXGOPRO/$file
|
Pushed a PR: #165 |
Hello, tried with 11, but gives me nothing back but an Error 404. |
Still nothing? |
Seems, that this all is not really maintained 😪. I mean, these are basic features (file handling). |
Found out that there is a path for deleting a file on the 11 Black. Added this to my sdk http_commands.py:
Also added settings for some missing things: Would be nice if these were officially added to the SDK |
Thank you, Tony. I implemented this in the http_commands.py (everywhere in the system) and it works. In my opinion, this should be a standard feature. Hope the maintainer will read and then do this within the next 100 years ... |
Does anyone know if this work for a Go Pro Hero 10 black with firmware 1.5? |
If you have your GoPro connected through USB, and you're able to access it through your browser (e.g. checking the state by:
Replace the values in the brackets by your settings (last digits of your Cam-ID by position -3, -2 and -1 (see manual and openGoPro documentation as well) and make sure that you've disconnected your camera from the file system where it hangs in normally by MTP. |
These endpoints have been added. There are 3 documented delete endpoints: |
Thank you for solving this all, we'll check all these and let you stay informed about the outcome ;-) |
Be advised that the "delete all files" endpoint is very slow, even if there are no files to delete. Also, there is absolutely nothing in the state to indicate it is still processing. Encoding is not set to true??? The best I have found is to do a "delete all", pause for a while, then do a "get media list" and wait for that call to complete. It will not complete until the delete is done. |
Hi,
Is it possible to delete media using the python connector?
I am testing taking many photos (every 5s) and would like to delete them to avoid filling up the SD card. I can see that its possible with the unofficial API but would be great if we can add support here. (maybe I have missed something if it is indeed possible.)
The text was updated successfully, but these errors were encountered: