From 5b7c9275c86d96a1dee979a6ea0d114710d1b7a4 Mon Sep 17 00:00:00 2001 From: RythenGlyth Date: Wed, 11 Sep 2024 11:19:51 +0200 Subject: [PATCH] stderr from yt-dl to stderr --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 9cf27a4..dd0f93c 100644 --- a/main.go +++ b/main.go @@ -445,6 +445,7 @@ func downloadChapter(client *http.Client, datDir string, outputDir string, ytdlE } cmd := exec.Command(ytdlExec, "--embed-subs", "--all-subs", "-f", "bestvideo+bestaudio", chapterMetadata.Sources[0].Src, "-o", path.Join(outputDir, fmt.Sprintf("%03d-%s.mp4", chapter.Number, chapter.Title))) + cmd.Stderr = os.Stderr err = cmd.Run() if err != nil { return err