Implement --write-successful-file and --skip-file

This commit is contained in:
Ritiek Malhotra
2020-05-18 00:11:33 +05:30
parent 23e18e1550
commit 81a6cb052b
4 changed files with 64 additions and 29 deletions

View File

@@ -189,15 +189,17 @@ def get_arguments(config_base=_CONFIG_BASE):
"to the next track (if any)",
action="store_true",
)
# parser.add_argument(
# "--processor",
# default=defaults["processor"],
# choices={"synchronous", "threaded"},
# help='list downloading strategy: - "synchronous" downloads '
# 'tracks one-by-one. - "threaded" (highly experimental at the '
# 'moment! expect it to slash & burn) pre-fetches the next '
# 'track\'s metadata for more efficient downloading'
# )
parser.add_argument(
"--processor",
default="synchronous",
choices={"synchronous", "threaded"},
# help='list downloading strategy: - "synchronous" downloads '
# 'tracks one-by-one. - "threaded" (highly experimental at the '
# 'moment! expect it to slash & burn) pre-fetches the next '
# 'track\'s metadata for more efficient downloading'
# XXX: Still very experimental to be exposed
help=argparse.SUPPRESS,
)
parser.add_argument(
"-ns",
"--no-spaces",