From 01d7f2fcda732dfd357c0dacc1f6a3a99d62a86e Mon Sep 17 00:00:00 2001 From: Leonetienne Date: Wed, 3 Mar 2021 20:16:40 +0100 Subject: [PATCH] Fixed issue that caused video downloadnloads to be incompatible with third-party software like whatsapp --- Tubio/DownloadManager.cpp | 4 ++-- Tubio/Version.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tubio/DownloadManager.cpp b/Tubio/DownloadManager.cpp index c17c38b..610e413 100644 --- a/Tubio/DownloadManager.cpp +++ b/Tubio/DownloadManager.cpp @@ -152,8 +152,8 @@ void DownloadManager::DownloadNext() { std::string ytdl_call_video_base = "youtube-dl --newline --no-call-home --no-playlist --no-part --no-warnings --socket-timeout 5 --limit-rate $$DL_RATE" - " --no-mtime --no-cache-dir --recode-video mp4 --format \"bestvideo[ext=mp4]+bestaudio/best[ext=mp4]/best\"" - " --merge-output-format mp4 -o \"$$DL_FILE\" \"$$DL_URL\" > \"$$DL_PROG_BUF_FILE\""; + " --no-mtime --no-cache-dir --recode-video mp4 --prefer-ffmpeg" + " -o \"$$DL_FILE\" \"$$DL_URL\" > \"$$DL_PROG_BUF_FILE\""; ytdl_call_video_base = Internal::StringHelpers::Replace(ytdl_call_video_base, "$$DL_RATE", XGConfig::downloader.max_dlrate_per_thread); diff --git a/Tubio/Version.h b/Tubio/Version.h index 383fc96..51a0b22 100644 --- a/Tubio/Version.h +++ b/Tubio/Version.h @@ -1,2 +1,2 @@ #pragma once -#define TUBIO_SERVER_VERSION (0.51) +#define TUBIO_SERVER_VERSION (0.52)