diff --git a/Tubio/DownloadManager.cpp b/Tubio/DownloadManager.cpp index 1c2c108..9853dc2 100644 --- a/Tubio/DownloadManager.cpp +++ b/Tubio/DownloadManager.cpp @@ -235,15 +235,8 @@ void DownloadManager::UpdateDownloadProgressPercentages() { int newPercentage = std::stoi(ss.str()); unfinishedCache[i].download_progress = newPercentage; - - //if (newPercentage == 100) unfinishedCache[i].status = DOWNLOAD_STATUS::FINISHED; } } - else if ((lbuf.substr(0, 21) == "Deleting original file") || - (lbuf.substr(0, 24) == "[ffmpeg] Not converting")) - { - unfinishedCache[i].status = DOWNLOAD_STATUS::FINISHED; - } } } } @@ -578,7 +571,7 @@ std::vector DownloadManager::ParseJsonArrayToEntries(const JasonP void DownloadManager::FetchInformation(std::string url, std::string tubId) { std::stringstream ss; - ss << "youtube-dl.exe --skip-download --no-warnings --socket-timeout 5 --dump-json \"" << url << "\" > \"" << XGConfig::downloader.cachedir << "/metadata/" << tubId << ".json" << "\"" << std::endl; + ss << "youtube-dl.exe --skip-download --no-warnings --no-call-home --no-playlist --socket-timeout 5 --dump-json \"" << url << "\" > \"" << XGConfig::downloader.cachedir << "/metadata/" << tubId << ".json" << "\"" << std::endl; system(ss.str().c_str()); return; } diff --git a/Tubio/Version.h b/Tubio/Version.h index 6ea6aa7..8814928 100644 --- a/Tubio/Version.h +++ b/Tubio/Version.h @@ -1,2 +1,2 @@ #pragma once -#define TUBIO_SERVER_VERSION (0.53) +#define TUBIO_SERVER_VERSION (0.535) diff --git a/Tubio/youtube-dl.exe b/Tubio/youtube-dl.exe index 1517c9b..d1a6739 100644 Binary files a/Tubio/youtube-dl.exe and b/Tubio/youtube-dl.exe differ diff --git a/linux_build/tubio.out b/linux_build/tubio.out index bde7533..4d40e80 100644 Binary files a/linux_build/tubio.out and b/linux_build/tubio.out differ