From 415c97cb09f47196e929b658e5615d7853a6c245 Mon Sep 17 00:00:00 2001 From: Isaac Abadi Date: Thu, 7 Jul 2022 01:07:22 -0400 Subject: [PATCH] Fixed issue where categories were not being properly applied to matching files (#701) --- backend/downloader.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/downloader.js b/backend/downloader.js index b2d87c5..707eb2a 100644 --- a/backend/downloader.js +++ b/backend/downloader.js @@ -207,7 +207,7 @@ async function collectInfo(download_uid) { info = await exports.getVideoInfoByURL(url, args, download_uid); } - download['category'] = category; + const stripped_category = {name: category['name'], uid: category['uid']}; // setup info required to calculate download progress @@ -230,6 +230,7 @@ async function collectInfo(download_uid) { files_to_check_for_progress: files_to_check_for_progress, expected_file_size: expected_file_size, title: playlist_title ? playlist_title : info['title'], + category: stripped_category, prefetched_info: null }); }