From 759637c1cfa53d1304dd9afd72c221509fe6a278 Mon Sep 17 00:00:00 2001 From: Isaac Abadi Date: Sun, 19 Sep 2021 14:29:12 -0400 Subject: [PATCH] Fixed issue where per-subscription custom args were not being applied --- backend/subscriptions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/subscriptions.js b/backend/subscriptions.js index 244cb70..568d06e 100644 --- a/backend/subscriptions.js +++ b/backend/subscriptions.js @@ -329,7 +329,8 @@ function generateOptionsForSubscriptionDownload(sub, user_uid) { selectedHeight: sub.maxQuality && sub.maxQuality !== 'best' ? sub.maxQuality : null, customFileFolderPath: getAppendedBasePath(sub, basePath), customOutput: sub.custom_output ? `${sub.custom_output}` : `${default_output}`, - customArchivePath: path.join(__dirname, basePath, 'archives', sub.name) + customArchivePath: path.join(__dirname, basePath, 'archives', sub.name), + additionalArgs: sub.custom_args } return base_download_options;