mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-23 12:40:11 +09:00
add an add
flag for each embed
flag
Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
parent
49c5293014
commit
ba94495b09
@ -811,15 +811,15 @@ def parseOpts(overrideArguments=None):
|
|||||||
action='store_true', dest='nopostoverwrites', default=False,
|
action='store_true', dest='nopostoverwrites', default=False,
|
||||||
help='Do not overwrite post-processed files; the post-processed files are overwritten by default')
|
help='Do not overwrite post-processed files; the post-processed files are overwritten by default')
|
||||||
postproc.add_option(
|
postproc.add_option(
|
||||||
'--embed-subs',
|
'--embed-subs', '--add-subs',
|
||||||
action='store_true', dest='embedsubtitles', default=False,
|
action='store_true', dest='embedsubtitles', default=False,
|
||||||
help='Embed subtitles in the video (only for mp4, webm and mkv videos)')
|
help='Embed subtitles in the video (only for mp4, webm and mkv videos)')
|
||||||
postproc.add_option(
|
postproc.add_option(
|
||||||
'--embed-thumbnail',
|
'--embed-thumbnail', '--add-thumbnail',
|
||||||
action='store_true', dest='embedthumbnail', default=False,
|
action='store_true', dest='embedthumbnail', default=False,
|
||||||
help='Embed thumbnail in the audio as cover art')
|
help='Embed thumbnail in the audio as cover art')
|
||||||
postproc.add_option(
|
postproc.add_option(
|
||||||
'--add-metadata',
|
'--add-metadata', '--embed-metadata',
|
||||||
action='store_true', dest='addmetadata', default=False,
|
action='store_true', dest='addmetadata', default=False,
|
||||||
help='Write metadata to the video file')
|
help='Write metadata to the video file')
|
||||||
postproc.add_option(
|
postproc.add_option(
|
||||||
|
Loading…
Reference in New Issue
Block a user