Fixed issue that caused video downloadnloads to be incompatible with third-party software like whatsapp

This commit is contained in:
Leonetienne 2021-03-03 20:16:40 +01:00
parent 82cdbe7ba3
commit 01d7f2fcda
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -1,2 +1,2 @@
#pragma once
#define TUBIO_SERVER_VERSION (0.51)
#define TUBIO_SERVER_VERSION (0.52)