|
|
@ -329,7 +329,8 @@ function generateOptionsForSubscriptionDownload(sub, user_uid) {
|
|
|
|
selectedHeight: sub.maxQuality && sub.maxQuality !== 'best' ? sub.maxQuality : null,
|
|
|
|
selectedHeight: sub.maxQuality && sub.maxQuality !== 'best' ? sub.maxQuality : null,
|
|
|
|
customFileFolderPath: getAppendedBasePath(sub, basePath),
|
|
|
|
customFileFolderPath: getAppendedBasePath(sub, basePath),
|
|
|
|
customOutput: sub.custom_output ? `${sub.custom_output}` : `${default_output}`,
|
|
|
|
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;
|
|
|
|
return base_download_options;
|
|
|
|