diff --git a/Tubio/DownloadManager.cpp b/Tubio/DownloadManager.cpp index 610e413..1c2c108 100644 --- a/Tubio/DownloadManager.cpp +++ b/Tubio/DownloadManager.cpp @@ -236,9 +236,14 @@ void DownloadManager::UpdateDownloadProgressPercentages() int newPercentage = std::stoi(ss.str()); unfinishedCache[i].download_progress = newPercentage; - if (newPercentage == 100) unfinishedCache[i].status = DOWNLOAD_STATUS::FINISHED; + //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; + } } } } diff --git a/Tubio/Version.h b/Tubio/Version.h index 51a0b22..6ea6aa7 100644 --- a/Tubio/Version.h +++ b/Tubio/Version.h @@ -1,2 +1,2 @@ #pragma once -#define TUBIO_SERVER_VERSION (0.52) +#define TUBIO_SERVER_VERSION (0.53)