Option --break-per-input to apply --break-on... to each input URL

This commit is contained in:
pukkandan
2021-11-29 02:41:55 +05:30
parent 5e5be0c0b2
commit b222c27145
3 changed files with 16 additions and 1 deletions

View File

@@ -449,6 +449,14 @@ def parseOpts(overrideArguments=None):
'--break-on-reject',
action='store_true', dest='break_on_reject', default=False,
help='Stop the download process when encountering a file that has been filtered out')
selection.add_option(
'--break-per-input',
action='store_true', dest='break_per_url', default=False,
help='Make --break-on-existing and --break-on-reject act only on the current input URL')
selection.add_option(
'--no-break-per-input',
action='store_false', dest='break_per_url',
help='--break-on-existing and --break-on-reject terminates the entire download queue')
selection.add_option(
'--skip-playlist-after-errors', metavar='N',
dest='skip_playlist_after_errors', default=None, type=int,