Fixed issue where per-subscription custom args were not being applied

heroku-fixes-and-repo-cleanup
Isaac Abadi 3 years ago
parent 33f23c3ca9
commit 759637c1cf

@ -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;

Loading…
Cancel
Save