Move to the new /go url.

master
Zed A. Shaw 17 hours ago
parent 32887187ca
commit 1a49aadc8c
  1. 2
      go.mod
  2. 4
      main.go

@ -1,4 +1,4 @@
module lcthw.dev/vidcrunch
module lcthw.dev/go/vidcrunch
go 1.24.2

@ -8,7 +8,7 @@ import (
"os"
"math/rand"
"strings"
"lcthw.dev/vidcrunch/config"
"lcthw.dev/go/vidcrunch/config"
"github.com/modfy/fluent-ffmpeg"
)
@ -81,7 +81,6 @@ func DevNull() string {
}
func RenderFile(pid int, path string, target string) {
target = ModFile(target, config.Settings.Scale)
Run(1, pid, path, DevNull())
Run(2, pid, path, DevNull())
Run(3, pid, path, target)
@ -94,6 +93,7 @@ func RenderToDir() {
for _, path := range matches {
base := filepath.Base(path)
target := filepath.Join(config.Settings.OutDir, base)
target = ModFile(target, config.Settings.Scale)
_, err := os.Stat(target)

Loading…
Cancel
Save