mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-18 15:51:29 +03:00
Fixed issue where per-subscription custom args were not being applied
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user