1
0
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:
molikuner
2020-05-06 09:28:17 +02:00
committed by GitHub
parent 94b6da7fae
commit 3a8ed600ac
4 changed files with 28 additions and 12 deletions

View File

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