mirror of
https://github.com/snobu/destreamer.git
synced 2026-01-30 03:42:16 +00:00
Fix auto rename for duplicate video titles (#118)
* Fix `makeUniqueTitle` was not working with (custom) output format * Add option to skip already existing files * Update README to include --skip option Co-authored-by: molikuner <molikuner@gmail.com>
This commit is contained in:
@@ -79,6 +79,12 @@ export const argv = yargs.options({
|
||||
type: 'string',
|
||||
default: 'mkv',
|
||||
demandOption: false
|
||||
},
|
||||
skip: {
|
||||
describe: 'Skip download if file already exists',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
demandOption: false
|
||||
}
|
||||
})
|
||||
/**
|
||||
@@ -207,4 +213,4 @@ function windowsFileExtensionBadBehaviorFix(argv: any) {
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user