aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/postprocessor/modify_chapters.py
Commit message (Collapse)AuthorAgeFilesLines
* [postprocessor] Fix chapters if duration is not extracted (#6037)bashonly2023-03-081-0/+1
| | | Authored by: bashonly
* [ModifyChapters] Handle the entire video being marked for removalpukkandan2022-10-181-0/+3
| | | | Closes #5238
* [SponsorBlock] Support `chapter` category (#5260)Ajay Ramachandran2022-10-181-7/+6
| | | Authored by: ajayyy, pukkandan
* [ModifyChapters] Modify duration in infodictpukkandan2022-07-111-2/+3
|
* [ModifyChapters] Fix repeated removal of small segmentspukkandan2022-05-231-2/+2
| | | | Closes #3846
* [EmbedThumbnail] Do not obey `-k`pukkandan2022-05-011-1/+1
|
* [cleanup] Sort importspukkandan2022-04-121-10/+2
| | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
* [Sponsorblock] minor fixes (#2793)Nil Admirari2022-02-171-0/+2
| | | | | | * preserve mtime - Closes #2769 * keep concat spec on failure Authored by: nihil-admirari
* [cleanup, docs] Minor fixespukkandan2022-01-121-1/+2
| | | | Closes #2230
* [SponsorBlock] Add Filler and Highlight categories (#1664)Nil Admirari2021-12-091-2/+2
| | | Authored by: nihil-admirari, pukkandan
* [EmbedSubtitles] Slightly relax duration checkpukkandan2021-11-271-2/+1
| | | | | and related cleanup Closes #1385
* [ModifyChapters] Do not mutate original chapters (#1322)Nil Admirari2021-10-191-4/+6
| | | | Closes #1295 Authored by: nihil-admirari
* [ModifyChapters] Allow removing sections by timestamppukkandan2021-10-181-2/+11
| | | | | Eg: --remove-chapters "*10:15-15:00". The `*` prefix is used so as to avoid any conflicts with other valid regex
* Improved progress reporting (See desc) (#1125)pukkandan2021-10-091-2/+1
| | | | | | | | | | | * Separate `--console-title` and `--no-progress` * Add option `--progress` to show progress-bar even in quiet mode * Fix and refactor `minicurses` * Use `minicurses` for all progress reporting * Standardize use of terminal sequences and enable color support for windows 10 * Add option `--progress-template` to customize progress-bar and console-title * Add postprocessor hooks and progress reporting Closes: #906, #901, #1085, #1170
* [SponsorBlock] Improve merge algorithm (#999)Nil Admirari2021-09-191-36/+39
| | | Authored by: nihil-admirari
* [ModifyChapters] fixes (See desc)pukkandan2021-09-041-13/+5
| | | | | | | | * [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
* Native SponsorBlock implementation and related improvements (#360)Nil Admirari2021-09-021-0/+333
SponsorBlock options: * The fetched sponsor sections are written to infojson * `--sponsorblock-remove` removes specified chapters from file * `--sponsorblock-mark` marks the specified sponsor sections as chapters * `--sponsorblock-chapter-title` to specify sponsor chapter template * `--sponsorblock-api` to use a different API Related improvements: * Split `--embed-chapters` from `--embed-metadata` * Add `--remove-chapters` to remove arbitrary chapters * Add `--force-keyframes-at-cuts` for more accurate cuts when removing and splitting chapters Deprecates all `--sponskrub` options Authored by: nihil-admirari, pukkandan