From ea57ef163ceb6ced3741776bececf32c60b82e88 Mon Sep 17 00:00:00 2001 From: KonradIT Date: Mon, 2 Sep 2024 11:09:19 +0200 Subject: [PATCH] Add initial Hero13 support --- pkg/gopro/connect.go | 2 +- pkg/gopro/gopro.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/gopro/connect.go b/pkg/gopro/connect.go index f449b6d..27dd802 100644 --- a/pkg/gopro/connect.go +++ b/pkg/gopro/connect.go @@ -164,7 +164,7 @@ func ImportConnect(params utils.ImportParams) (*utils.Result, error) { root := strings.Split(gpInfo.Info.FirmwareVersion, ".")[0] switch root { - case "HD9", "H21", "H22", "H23": + case "HD9", "H21", "H22", "H23", "H24": verType = V2 gpTurbo = true case "HD6", "HD7", "HD8": diff --git a/pkg/gopro/gopro.go b/pkg/gopro/gopro.go index f770172..ef04097 100644 --- a/pkg/gopro/gopro.go +++ b/pkg/gopro/gopro.go @@ -114,7 +114,7 @@ func (Entrypoint) Import(params utils.ImportParams) (*utils.Result, error) { params.Input = filepath.Join(params.Input, fmt.Sprint(DCIM)) switch root { - case "HD6", "HD7", "HD8", "H19", "HD9", "H21", "H22", "H23": + case "HD6", "HD7", "HD8", "H19", "HD9", "H21", "H22", "H23", "H24": result := importFromGoProV2(params) return &result, nil case "HD2", "HD3", "HD4", "HX", "HD5":