Fixed issue that caused downloads to be displayed as complete, when they were really not
This commit is contained in:
parent
01d7f2fcda
commit
c34b2f80bf
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,2 +1,2 @@
|
||||
#pragma once
|
||||
#define TUBIO_SERVER_VERSION (0.52)
|
||||
#define TUBIO_SERVER_VERSION (0.53)
|
||||
|
Loading…
x
Reference in New Issue
Block a user