diff options
author | Roland Reichwein <mail@reichwein.it> | 2022-05-29 11:01:11 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2022-05-29 11:01:11 +0200 |
commit | 4f82b0fd5f76fe0d488d297967962befdb00c8bc (patch) | |
tree | 2e0abcc414cc261a8c9bb9993c025fff10e11419 | |
parent | dabe9c0c42b9ed7d3ef4fb0695cf40857a71eea4 (diff) |
downtube 1.2: fixed webm -> mp3 conversionv1.2
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | downtube.cpp | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 7f8598b..49709a0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +downtube (1.2) unstable; urgency=medium + + * Fix youtube-dl command line: thumbnail broke audio conversion from webm + + -- Roland Reichwein <mail@reichwein.it> Sun, 29 May 2022 10:49:47 +0200 + downtube (1.1) unstable; urgency=medium * Enable MP4 / video download 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 |