mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-07 20:11:28 +03:00
Custom args and global custom args now use double comma as a delimiter. This should allow file names with spaces when using custom args (global and not)
This commit is contained in:
@@ -1479,7 +1479,7 @@ async function generateArgs(url, type, options) {
|
||||
}
|
||||
|
||||
if (customArgs) {
|
||||
downloadConfig = customArgs.split(' ');
|
||||
downloadConfig = customArgs.split(',,');
|
||||
} else {
|
||||
if (customQualityConfiguration) {
|
||||
qualityPath = `-f ${customQualityConfiguration}`;
|
||||
@@ -1535,7 +1535,7 @@ async function generateArgs(url, type, options) {
|
||||
|
||||
if (globalArgs && globalArgs !== '') {
|
||||
// adds global args
|
||||
downloadConfig = downloadConfig.concat(globalArgs.split(' '));
|
||||
downloadConfig = downloadConfig.concat(globalArgs.split(',,'));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user