Fixed several bugs with categories

Code cleanup
This commit is contained in:
Isaac Abadi
2022-06-16 23:42:47 -04:00
parent eee8494c70
commit 53a181e04d
5 changed files with 8 additions and 41 deletions

View File

@@ -207,6 +207,8 @@ async function collectInfo(download_uid) {
info = await exports.getVideoInfoByURL(url, args, download_uid);
}
download['category'] = category;
// setup info required to calculate download progress
const expected_file_size = utils.getExpectedFileSize(info);