fxstein / GoProX

The missing GoPro data and workflow manager for macOS
MIT License
25 stars 3 forks source link

Feature: Import from Archive #14

Closed fxstein closed 2 years ago

fxstein commented 2 years ago

Imports and archives are normally performed directly from the root of the GoPro sdcard. In some cases, it is required to import an archive instead. This is especially helpful when mobile collection is limited to creating archives and further processing is then performed at home or in the office.

goprox creates archives like:

20220930092409_GoPro_Hero10_2442.tar.gz
20220930093920_GoPro_Hero10_8034.tar.gz
20220930103800_GoPro Max_6013.tar.gz
20220930103807_GoPro_Hero11_8909.tar.gz
20220930103816_GoPro_Hero11_5131.tar.gz

Currently, an archive needs to be uncompressed into a directory and then goprox can import from there. If the source is an archive file *.tar.gz the import process should happen automatically without the need for a manual decompression step.

fxstein commented 2 years ago

Ok Import from a single archive now works natively. However, if the source points to a directory that contains archives, it copies them as is into the library. This is due to the code handing over the directory to exiftool for processing. At the minimum, we need to exclude *.tar.gz from all exiftool steps.

fxstein commented 2 years ago

Imports are now limited to images and videos. c3ac627