Describe the bug
First: Thanks a lot for providing this API, it saved us so much work!
The GoPro 7 Black (and I assume others too) save files in subfolders, each subfolder containing up to 999 files. When I use the downloadAll function in GoProCamera.py it only downloads the latest folder and none of the older ones. In my application I let the GoPro run for hours and create about 3000+ images and would love to download them all in one go afterwards.
Edit: This seems only to happen when taking a timelapse of 1000+ images
2nd Edit: Now I also encountered the problem with just images (not timelapse). :(
To Reproduce
Steps to reproduce the behavior:
Take more than 999 images
run GoProCamera.downloadAll('all')
Expected behavior
Downloading all images.
Desktop (please complete the following information):
OS: Windows 10
GoPro Hero 7 Black
I should note, I changed the code a bit, such that a destination-folder can be given to downloadAll. The changes exactly are:
Line 890:
def downloadAll(self, option="", prefix=''):
and Line 904:
self.downloadMedia(folder, file, custom_filename=prefix+folder+"-"+file)
Describe the bug First: Thanks a lot for providing this API, it saved us so much work!
The GoPro 7 Black (and I assume others too) save files in subfolders, each subfolder containing up to 999 files. When I use the downloadAll function in GoProCamera.py it only downloads the latest folder and none of the older ones. In my application I let the GoPro run for hours and create about 3000+ images and would love to download them all in one go afterwards.
Edit: This seems only to happen when taking a timelapse of 1000+ images
2nd Edit: Now I also encountered the problem with just images (not timelapse). :(
To Reproduce Steps to reproduce the behavior:
Expected behavior Downloading all images.
Desktop (please complete the following information):
I should note, I changed the code a bit, such that a destination-folder can be given to downloadAll. The changes exactly are: Line 890:
def downloadAll(self, option="", prefix=''):
and Line 904:self.downloadMedia(folder, file, custom_filename=prefix+folder+"-"+file)
nothing else was changed.