aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/options.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2021-01-16 18:12:05 +0100
committerpukkandan <pukkandan@gmail.com>2021-01-24 20:28:44 +0530
commita820dc722e93b40450b8280a23110c4960800123 (patch)
tree183030101461cdeeadd3d4d215ed34dc4d9051b3 /youtube_dlc/options.py
parentf74980cbaebaf3c4ea89d1b257424a50545991d9 (diff)
downloadhypervideo-pre-a820dc722e93b40450b8280a23110c4960800123.tar.lz
hypervideo-pre-a820dc722e93b40450b8280a23110c4960800123.tar.xz
hypervideo-pre-a820dc722e93b40450b8280a23110c4960800123.zip
Update to ytdl-2021.01.24.1
Diffstat (limited to 'youtube_dlc/options.py')
-rw-r--r--youtube_dlc/options.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dlc/options.py b/youtube_dlc/options.py
index 97e8964d6..8b8c81c35 100644
--- a/youtube_dlc/options.py
+++ b/youtube_dlc/options.py
@@ -843,6 +843,10 @@ def parseOpts(overrideArguments=None):
dest='outtmpl', metavar='TEMPLATE',
help='Output filename template, see "OUTPUT TEMPLATE" for details')
filesystem.add_option(
+ '--output-na-placeholder',
+ dest='outtmpl_na_placeholder', metavar='PLACEHOLDER', default='NA',
+ help=('Placeholder value for unavailable meta fields in output filename template (default is "%default")'))
+ filesystem.add_option(
'--autonumber-size',
dest='autonumber_size', metavar='NUMBER', type=int,
help=optparse.SUPPRESS_HELP)
@@ -997,7 +1001,7 @@ def parseOpts(overrideArguments=None):
postproc.add_option(
'-x', '--extract-audio',
action='store_true', dest='extractaudio', default=False,
- help='Convert video files to audio-only files (requires ffmpeg or avconv and ffprobe or avprobe)')
+ help='Convert video files to audio-only files (requires ffmpeg/avconv and ffprobe/avprobe)')
postproc.add_option(
'--audio-format', metavar='FORMAT', dest='audioformat', default='best',
help='Specify audio format: "best", "aac", "flac", "mp3", "m4a", "opus", "vorbis", or "wav"; "%default" by default; No effect without -x')