aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/postprocessor/modify_chapters.py
AgeCommit message (Collapse)Author
2024-06-12[cleanup] Add more ruff rules (#10149)sepro
Authored by: seproDev Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com> Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
2023-03-08[postprocessor] Fix chapters if duration is not extracted (#6037)bashonly
Authored by: bashonly
2022-10-18[ModifyChapters] Handle the entire video being marked for removalpukkandan
Closes #5238
2022-10-18[SponsorBlock] Support `chapter` category (#5260)Ajay Ramachandran
Authored by: ajayyy, pukkandan
2022-07-11[ModifyChapters] Modify duration in infodictpukkandan
2022-05-23[ModifyChapters] Fix repeated removal of small segmentspukkandan
Closes #3846
2022-05-01[EmbedThumbnail] Do not obey `-k`pukkandan
2022-04-12[cleanup] Sort importspukkandan
Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-02-17[Sponsorblock] minor fixes (#2793)Nil Admirari
* preserve mtime - Closes #2769 * keep concat spec on failure Authored by: nihil-admirari
2022-01-12[cleanup, docs] Minor fixespukkandan
Closes #2230
2021-12-09[SponsorBlock] Add Filler and Highlight categories (#1664)Nil Admirari
Authored by: nihil-admirari, pukkandan
2021-11-27[EmbedSubtitles] Slightly relax duration checkpukkandan
and related cleanup Closes #1385
2021-10-19[ModifyChapters] Do not mutate original chapters (#1322)Nil Admirari
Closes #1295 Authored by: nihil-admirari
2021-10-18[ModifyChapters] Allow removing sections by timestamppukkandan
Eg: --remove-chapters "*10:15-15:00". The `*` prefix is used so as to avoid any conflicts with other valid regex
2021-10-09Improved progress reporting (See desc) (#1125)pukkandan
* 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
2021-09-19[SponsorBlock] Improve merge algorithm (#999)Nil Admirari
Authored by: nihil-admirari
2021-09-04[ModifyChapters] fixes (See desc)pukkandan
* [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
2021-09-02Native SponsorBlock implementation and related improvements (#360)Nil Admirari
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