aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/options.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan@gmail.com>2021-01-04 22:10:47 +0530
committerpukkandan <pukkandan@gmail.com>2021-01-05 02:36:09 +0530
commit91ebc64068d2957400dbfaadff23e995392b3963 (patch)
treeebaf13430c45fdef23815fed611d393ae1679c8c /youtube_dlc/options.py
parent50865ca803a130308c064c2de5c7140754382993 (diff)
downloadhypervideo-pre-91ebc64068d2957400dbfaadff23e995392b3963.tar.lz
hypervideo-pre-91ebc64068d2957400dbfaadff23e995392b3963.tar.xz
hypervideo-pre-91ebc64068d2957400dbfaadff23e995392b3963.zip
Change defaults
* Enabled --ignore by default * Disabled --video-multistreams and --audio-multistreams by default * Changed default format selection to 'bv*+ba/b' when --audio-multistreams is disabled * Changed default format sort order to 'res,fps,codec,size,br,asr,proto,ext,has_audio,source,format_id' * Changed default output template to '%(title)s [%(id)s].%(ext)s' * Enabled `--list-formats-as-table` by default
Diffstat (limited to 'youtube_dlc/options.py')
-rw-r--r--youtube_dlc/options.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/youtube_dlc/options.py b/youtube_dlc/options.py
index a48a3f1f1..4804fb1f0 100644
--- a/youtube_dlc/options.py
+++ b/youtube_dlc/options.py
@@ -143,12 +143,12 @@ def parseOpts(overrideArguments=None):
help='Update this program to latest version. Make sure that you have sufficient permissions (run with sudo if needed)')
general.add_option(
'-i', '--ignore-errors', '--no-abort-on-error',
- action='store_true', dest='ignoreerrors', default=False,
- help='Continue on download errors, for example to skip unavailable videos in a playlist')
+ action='store_true', dest='ignoreerrors', default=True,
+ help='Continue on download errors, for example to skip unavailable videos in a playlist (default)')
general.add_option(
'--abort-on-error', '--no-ignore-errors',
action='store_false', dest='ignoreerrors',
- help='Abort downloading of further videos if an error occurs (default)')
+ help='Abort downloading of further videos if an error occurs')
general.add_option(
'--dump-user-agent',
action='store_true', dest='dump_user_agent', default=False,
@@ -438,20 +438,20 @@ def parseOpts(overrideArguments=None):
'see "Sorting Formats" for more details'))
video_format.add_option(
'--video-multistreams',
- action='store_true', dest='allow_multiple_video_streams', default=True,
- help='Allow multiple video streams to be merged into a single file (default)')
+ action='store_true', dest='allow_multiple_video_streams', default=False,
+ help='Allow multiple video streams to be merged into a single file')
video_format.add_option(
'--no-video-multistreams',
action='store_false', dest='allow_multiple_video_streams',
- help='Only one video stream is downloaded for each output file')
+ help='Only one video stream is downloaded for each output file (default)')
video_format.add_option(
'--audio-multistreams',
- action='store_true', dest='allow_multiple_audio_streams', default=True,
- help='Allow multiple audio streams to be merged into a single file (default)')
+ action='store_true', dest='allow_multiple_audio_streams', default=False,
+ help='Allow multiple audio streams to be merged into a single file')
video_format.add_option(
'--no-audio-multistreams',
action='store_false', dest='allow_multiple_audio_streams',
- help='Only one audio stream is downloaded for each output file')
+ help='Only one audio stream is downloaded for each output file (default)')
video_format.add_option(
'--all-formats',
action='store_const', dest='format', const='all',
@@ -466,8 +466,8 @@ def parseOpts(overrideArguments=None):
help='List all available formats of requested videos')
video_format.add_option(
'--list-formats-as-table',
- action='store_true', dest='listformats_table', default=False,
- help='Present the output of -F in a more tabular form')
+ action='store_true', dest='listformats_table', default=True,
+ help='Present the output of -F in a more tabular form (default)')
video_format.add_option(
'--list-formats-old', '--no-list-formats-as-table',
action='store_false', dest='listformats_table',