Skip to content

Commit

Permalink
fix: fixed sprite output path
Browse files Browse the repository at this point in the history
  • Loading branch information
Paxx committed Apr 20, 2023
1 parent 8608c90 commit 27ed73e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sprite/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (s *service) extract(seek int) string {
seekString := strconv.Itoa(seek)
now := time.Now()
output := random_helper.Generate(5, random_helper.AZAndCaps) + fmt.Sprintf("%d", now.UnixMilli()) + ".jpg"
outputPath := path.Join(path.Dir(s.flags.Input), output)
outputPath := path.Join(path.Dir(s.flags.Vtt), output)
cmd := exec.Command(
"ffmpeg",
"-ss",
Expand Down

0 comments on commit 27ed73e

Please sign in to comment.