refactor to Go and release v1 #30

Manually merged
williamp merged 33 commits from v1-refactor into master 2026-03-07 01:06:53 +00:00
Showing only changes of commit 4541559f47 - Show all commits

View File

@@ -154,7 +154,6 @@ func DownloadVideo(out_dir, temp_dir, url string, opts DownloadOptions, progress
SetExecutable(ytdlpBinary). SetExecutable(ytdlpBinary).
Paths(homePath). Paths(homePath).
Paths(tempPath). Paths(tempPath).
RecodeVideo("mp4").
ProgressFunc(100*time.Millisecond, func(prog ytdlp.ProgressUpdate) { ProgressFunc(100*time.Millisecond, func(prog ytdlp.ProgressUpdate) {
if prog.Status == ytdlp.ProgressStatusFinished || if prog.Status == ytdlp.ProgressStatusFinished ||
prog.Status == ytdlp.ProgressStatusStarting || prog.Status == ytdlp.ProgressStatusStarting ||