gopro-py-api icon indicating copy to clipboard operation
gopro-py-api copied to clipboard

Unable to fetch most recent media URL on GoPro Fusion

Open sahajamatya opened this issue 4 years ago • 2 comments

  • OS: macOS 11.1 (Big Sur)
  • GoPro: Fusion

I get an almost empty file path when using the getMedia() and getMediaFusion() functions.

To Reproduce Steps to reproduce the behavior:

>>> from goprocam import GoProCamera, constants
>>> GoProCamera.GoPro().getMediaFusion()

Expected behavior It should return the URL for both front and back images of last picture taken.

['http://10.5.5.9/videos/DCIM/100GBACK/GPBK0151.JPG', 'http://10.5.5.9/videos2/DCIM/100GFRNT/GPFR0151.JPG']

Screenshots Instead, it returns:

['http://10.5.5.9/videos/DCIM//', 'http://10.5.5.9/videos2/DCIM//']

Screen Shot 2020-12-23 at 4 31 01 PM

Additional context The SD cards are not empty.

I am able to view images by manually typing in the correct URL on the browser.

goprocam/GoProCamera.py lines 649-677? Are "GBACK", "GFRNT" supposed to be prefixed with "100" to be "100GBACK", "100GFRNT"?

sahajamatya avatar Dec 23 '20 22:12 sahajamatya

Hi, can you rollback to this version? https://github.com/KonradIT/gopro-py-api/releases/tag/3.0.1 and try again

KonradIT avatar Dec 24 '20 08:12 KonradIT

Thank you for your response, Konrad. It seems I have the same issue with v3.0.1 as well.

image

sahajamatya avatar Dec 24 '20 13:12 sahajamatya