From 4f82b0fd5f76fe0d488d297967962befdb00c8bc Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 29 May 2022 11:01:11 +0200 Subject: downtube 1.2: fixed webm -> mp3 conversion --- downtube.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'downtube.cpp') diff --git a/downtube.cpp b/downtube.cpp index 7fd8b66..f3afcc0 100644 --- a/downtube.cpp +++ b/downtube.cpp @@ -141,7 +141,7 @@ int main(void) FCGX_FPrintF(request.out, "%s", filename.c_str()); } else if (command == "getfile") { if (format == "mp3") { - std::string cmd{"youtube-dl --no-warnings --no-call-home --no-progress -x --audio-format mp3 --embed-thumbnail -o audio.mp3 --restrict-filenames "s + url}; + std::string cmd{"youtube-dl --no-warnings --no-call-home --no-progress -x --audio-format mp3 -o audio.mp3 --restrict-filenames "s + url}; system(cmd.c_str()); // Ignore error - "ERROR: Stream #1:0 -> #0:1 (copy)" - seems to be ok std::string filedata {File::getFile("audio.mp3")}; // may throw -- cgit v1.2.3