pukkandan
da4db748fa
[utils] Add `deprecation_warning`
...
See https://github.com/yt-dlp/yt-dlp/pull/2173#issuecomment-1097021515
2 years ago
pukkandan
0e0ce898f6
[ThumbnailsConvertor] Fix conversion after fixup_webp
...
Closes #4565
2 years ago
pukkandan
8420a4d063
[ffmpeg] Smarter detection of ffprobe filename
2 years ago
pukkandan
b5e9a641f5
[postprocessor/embedthumbnail] Detect libatomicparsley.so
2 years ago
pukkandan
c220d9efc8
[ffmpeg] Disable avconv unless `--prefer-avconv`
2 years ago
pukkandan
be5c1ae862
Standardize retry mechanism ( #1649 )
...
* [utils] Create `RetryManager`
* Migrate all retries to use the manager
* [extractor] Add wrapper methods for convenience
* Standardize console messages for retries
* Add `--retry-sleep` for extractors
2 years ago
pukkandan
5f2a7f7c4a
[FFmpegThumbnailsConvertor] Fix conversion from GIF
...
Closes #2988
2 years ago
pukkandan
4f04be6add
Validate `--merge-output-format`
...
Closes #4489
2 years ago
pukkandan
8dc5930511
[utils, cleanup] Consolidate known media extensions
2 years ago
pukkandan
6a7d3a0a09
[ffmpeg] Set `ffmpeg_location` in a contextvar
...
Fixes #2191 for the CLI, but not when used through the API
2 years ago
pukkandan
4f547d6d2c
[metadataparser] Don't set `None` when the field didn't match
...
Fixes: https://github.com/ytdl-org/youtube-dl/issues/31118#issuecomment-1198254512
2 years ago
pukkandan
3bec830a59
Reject entire playlists faster with `--match-filter`
...
Rejected based on `playlist_id` etc can be checked before any entries are extracted
Related: #4383
2 years ago
pukkandan
4019bf0525
[ModifyChapters] Modify duration in infodict
3 years ago
pukkandan
f2df407165
[cleanup] Misc cleanup
3 years ago
crazymoose77756
962ffcf89c
[cleanup] Fix some typos ( #4194 )
...
Authored by: crazymoose77756
3 years ago
pukkandan
14f25df2b6
[compat] Remove deprecated functions from core code
3 years ago
pukkandan
f67baae17e
[ffmpeg] Write full output to debug on error
...
Bug in f0c9fb9682
3 years ago
christoph-heinrich
e121e3cee7
[cleanup] Minor fixes ( #4096 )
...
Authored by: christoph-heinrich
3 years ago
pukkandan
f0c9fb9682
[utils] `Popen`: Refactor to use contextmanager
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/3531#issuecomment-1156223597
3 years ago
pukkandan
56ba69e4c9
[cleanup] Misc fixes
...
Closes #4027
3 years ago
pukkandan
e0ab98541c
[ExtractAudio] Allow conditional conversion
...
Closes #1715
3 years ago
pukkandan
35faefee5d
[ExtractAudio, cleanup] Refactor
3 years ago
pukkandan
00bbc5f177
[ThumbnailsConvertor] Allow conditional conversion
...
Closes #3970
3 years ago
pukkandan
1890fc6389
[cleanup] Misc fixes
...
Cherry-picks from: #3498 , #3947
Related: #3949 , https://github.com/yt-dlp/yt-dlp/issues/1839#issuecomment-1140313836
Authored by: pukkandan, flashdagger, gamer191
3 years ago
pukkandan
8a82af3511
[cleanup] Misc fixes and cleanup
...
Closes #3780 , Closes #3853 , Closes #3850
3 years ago
pukkandan
d9473db78a
[ModifyChapters] Fix repeated removal of small segments
...
Closes #3846
3 years ago
pukkandan
3a85e9cee9
[ffmpeg] Check version lazily
...
Closes #3830
3 years ago
pukkandan
5792c950bf
[compat] Implement `compat.imghdr`
...
Python 3.11 deprecates `imghdr` module
3 years ago
pukkandan
0f06bcd759
[cleanup] Minor fixes (See desc)
...
* [youtube] Fix `--youtube-skip-dash-manifest`
* [build] Use `$()` in `Makefile`. Closes #3684
* Fix bug in 385ffb467b
* Fix bug in 43d7f5a5d0
* [cleanup] Remove unnecessary `utf-8` from `str.encode`/`bytes.decode`
* [utils] LazyList: Expose unnecessarily "protected" attributes
and other minor cleanup
3 years ago
pukkandan
6f7563beb7
[XAttrMetadata] Refactor and document dependencies
3 years ago
pukkandan
43d7f5a5d0
[EmbedThumbnail] Do not obey `-k`
3 years ago
pukkandan
1d485a1a79
[cleanup] Misc fixes
...
Closes #3565 , https://github.com/yt-dlp/yt-dlp/issues/3514#issuecomment-1105944364
3 years ago
pukkandan
e13945a2fe
[ffmpeg] Fix features detection
3 years ago
pukkandan
ca04e1bf49
[Metadata] Remove filename from attached info-json
3 years ago
pukkandan
b0f636beb4
[Sponsorblock] Don't crash when duration is unknown
...
CLoses #3529
3 years ago
Evan Spensley
7774db5bf9
[EmbedThumbnail] Disable thumbnail conversion for mkv ( #3512 )
...
Closes #3209
Authored by: evansp
3 years ago
pukkandan
9b8ee23b99
[dependencies] Create module with all dependency imports
3 years ago
pukkandan
1e9969f4f5
bugfix for a44ca5a470
, 19a0394044
, 77f9033095
...
Closes #3472
3 years ago
pukkandan
19a0394044
[cleanup] Misc cleanup and refactor ( #2173 )
3 years ago
pukkandan
3d3bb1688b
[docs] Improve embedding docs and other minor fixes
3 years ago
pukkandan
743f39750c
Fix bug in 66cf3e1001
3 years ago
pukkandan
66cf3e1001
[EmbedSubtitle] Enable for more video extensions
...
Closes #3382
3 years ago
pukkandan
e5a998f368
[cleanup] Misc cleanup ( #2173 )
...
Authored by: fstirlitz, pukkandan
3 years ago
pukkandan
f82711587c
[cleanup] Sort imports
...
Using https://github.com/PyCQA/isort
isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
3 years ago
pukkandan
86e5f3ed2e
[cleanup] Upgrade syntax
...
Using https://github.com/asottile/pyupgrade
1. `__future__` imports and `coding: utf-8` were removed
2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format`
3. f-strings were cherry-picked from `pyupgrade --py36-plus`
Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
3 years ago
pukkandan
f9934b9614
[cleanup] Mark some compat variables for removal ( #2173 )
...
Authored by fstirlitz, pukkandan
3 years ago
pukkandan
5a727063c5
[FFmpegMetadataPP] Remove `\0` from metadata
3 years ago
pukkandan
f894294636
[EmbedThumbnail] Do not remove id3v1 tags
3 years ago
pukkandan
22fba53fbd
[FfmpegMetadata] Write id3v1 tags
3 years ago
pukkandan
a44ca5a470
[cleanup] Misc fixes
...
Closes https://github.com/yt-dlp/yt-dlp/pull/3213 , Closes https://github.com/yt-dlp/yt-dlp/pull/3117
Related: https://github.com/yt-dlp/yt-dlp/issues/3146#issuecomment-1077323114 , https://github.com/yt-dlp/yt-dlp/pull/3277#discussion_r841019671 , a825ffbffa (commitcomment-68538986)
, https://github.com/yt-dlp/yt-dlp/issues/2360 , 5fa3c9a88f (r70393519)
, 5fa3c9a88f (r70393254)
3 years ago