Skip to content

Commit

Permalink
report error for missing ffprobe [KonradIT#124]
Browse files Browse the repository at this point in the history
This is not fixing the ProgressBar though.
  • Loading branch information
ztmr committed Oct 8, 2023
1 parent 599a677 commit e9082a9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/gopro/gopro.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ folderLoop:
if !r {
continue folderLoop
}
color.Green("Looking at %s", f.Name())
color.Green("GoProV2 Looking at %s", f.Name())

err = godirwalk.Walk(filepath.Join(params.Input, f.Name()), &godirwalk.Options{
Callback: func(osPathname string, de *godirwalk.Dirent) error {
Expand Down Expand Up @@ -182,6 +182,8 @@ folderLoop:
filename := fmt.Sprintf("%s%s-%s%s", x[:2], x[4:][:4], x[2:][:2], filepath.Ext(x))
rfpsFolder, err := getRfpsFolder(osPathname)
if err != nil {
inlineCounter.SetFailure(err, filename)
wg.Done()
return godirwalk.SkipThis
}
additionalDir := ""
Expand Down Expand Up @@ -327,7 +329,7 @@ func importFromGoProV1(params utils.ImportParams) utils.Result {
if !r {
continue
}
color.Green("Looking at %s", f.Name())
color.Green("GoProV1 Looking at %s", f.Name())

err = godirwalk.Walk(filepath.Join(params.Input, f.Name()), &godirwalk.Options{
Callback: func(osPathname string, de *godirwalk.Dirent) error {
Expand Down

0 comments on commit e9082a9

Please sign in to comment.