diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-09-04 01:37:41 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-09-04 01:39:31 +0530 |
commit | 165efb823b3a8a6a6788cfe23e6b93dfbe150568 (patch) | |
tree | d9dc55050e3dd37827380cd2b256f7daa9dddd76 /yt_dlp/options.py | |
parent | dd594deb2a0449dd8b145ef0552235f66ee3d454 (diff) | |
download | hypervideo-pre-165efb823b3a8a6a6788cfe23e6b93dfbe150568.tar.lz hypervideo-pre-165efb823b3a8a6a6788cfe23e6b93dfbe150568.tar.xz hypervideo-pre-165efb823b3a8a6a6788cfe23e6b93dfbe150568.zip |
[ModifyChapters] fixes (See desc)
* [docs] Fix typo
* Do not enable `sponskrub` by default
* Fix `--force-keyframes-at-cuts`
* Don't embed subtitles if the video has been cut. Previously, running `--remove-chapters` with `--embed-subs` multiple times caused repeated cuts and out-of-sync subtitles
* Store `_real_duration` to prevent running ffprobe multiple times
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r-- | yt_dlp/options.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py index 505160cec..c2d7a74ff 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -1394,7 +1394,7 @@ def parseOpts(overrideArguments=None): 'SponsorBlock categories to create chapters for, separated by commas. ' 'Available categories are all, %s. You can prefix the category with a "-" to exempt it. ' 'See https://wiki.sponsor.ajay.app/index.php/Segment_Categories for description of the categories. ' - 'Eg: --sponsorblock-query all,-preview' % ', '.join(SponsorBlockPP.CATEGORIES.keys()))) + 'Eg: --sponsorblock-mark all,-preview' % ', '.join(SponsorBlockPP.CATEGORIES.keys()))) sponsorblock.add_option( '--sponsorblock-remove', metavar='CATS', dest='sponsorblock_remove', default=set(), action='callback', type='str', @@ -1421,7 +1421,7 @@ def parseOpts(overrideArguments=None): sponsorblock.add_option( '--sponskrub', - action='store_true', dest='sponskrub', default=None, + action='store_true', dest='sponskrub', default=False, help=optparse.SUPPRESS_HELP) sponsorblock.add_option( '--no-sponskrub', |