1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-06-27 17:08:32 +00:00
yt-dlp/test
Alexandre Ramos 8ec164054e Fix #9970: FFmpeg requires ext in filename for FFmpegMetadataPP
Output templates resulting in filenames with only dots preceding the
extension would be passed to ffmpeg for embeding metadata with .temp
in the extension field because os.path.splitext would not find and
extension field in those filenames.
As a result ffmpeg would fail to determine what the output extension
should be and fail.
To solve this a must_have_ext argument was added to _change_extension
so that where a extension is required the expected extension will be
used in those cases where os.path.splitext returns an empty string for
the extension field.
existing_video_file in YoutubeDL.py was also changed so it won't
overwrite info_dict['ext'] with an empty string if os.path.splitext
returns an empty string for the extension field. This fixes #9970 .
2025-03-22 18:26:18 +00:00
..
testdata [core] Load plugins on demand (#11305) 2025-02-23 11:00:46 +13:00
__init__.py Add support for single-test tox runs 2013-10-12 13:17:11 -04:00
conftest.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
helper.py [test] Show all differences for expect_value and expect_dict (#12334) 2025-02-21 21:29:07 +01:00
parameters.json [cleanup] Misc 2022-11-16 06:57:07 +05:30
test_aes.py [cleanup] Deprecate more compat functions (#11439) 2024-11-17 00:24:11 +01:00
test_age_restriction.py Update to ytdl-commit-2dd6c6e 2023-02-17 17:52:23 +05:30
test_all_urls.py [cleanup] Consistent style for file heads 2022-06-25 00:08:58 +05:30
test_cache.py [cleanup] Consistent style for file heads 2022-06-25 00:08:58 +05:30
test_compat.py [cleanup] Deprecate more compat functions (#11439) 2024-11-17 00:24:11 +01:00
test_config.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
test_cookies.py [cookies] Support chrome table version 24 (#11425) 2024-11-04 00:59:57 +01:00
test_download.py [test:download] Raise on network errors (#10283) 2024-06-28 00:23:44 +00:00
test_downloader_external.py [fd/external] Fix ffmpeg input from stdin (#7655) 2023-07-22 02:32:49 +00:00
test_downloader_http.py [cleanup] Deprecate more compat functions (#11439) 2024-11-17 00:24:11 +01:00
test_execution.py [docs] Misc Cleanup (#8977) 2024-03-11 00:48:47 +05:30
test_http_proxy.py [cleanup] Misc (#12526) 2025-03-21 23:41:56 +00:00
test_InfoExtractor.py Fix --netrc empty string parsing for Python <=3.10 (#11414) 2024-10-30 18:58:50 +00:00
test_iqiyi_sdk_interpreter.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
test_jsinterp.py [cleanup] Misc (#12526) 2025-03-21 23:41:56 +00:00
test_netrc.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
test_networking_utils.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
test_networking.py [networking] Add keep_header_casing extension (#11652) 2025-03-03 00:10:01 +01:00
test_overwrites.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
test_plugins.py [core] Load plugins on demand (#11305) 2025-02-23 11:00:46 +13:00
test_post_hooks.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
test_postprocessors.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
test_socks.py [rh:websockets] Support websockets 14.0+ (#11616) 2024-11-24 10:30:00 +13:00
test_subtitles.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
test_traversal.py [utils] subs_list_to_dict: Add lang default parameter (#11508) 2024-11-15 23:25:52 +01:00
test_update.py Remove Python 3.8 support (#11321) 2024-10-23 06:33:50 +00:00
test_utils.py Fix #9970: FFmpeg requires ext in filename for FFmpegMetadataPP 2025-03-22 18:26:18 +00:00
test_verbose_output.py [cleanup] Consistent style for file heads 2022-06-25 00:08:58 +05:30
test_websockets.py [networking] Add keep_header_casing extension (#11652) 2025-03-03 00:10:01 +01:00
test_write_annotations.py.disabled [cleanup] Consistent style for file heads 2022-06-25 00:08:58 +05:30
test_youtube_lists.py [extractor/youtube:tab] Update tab handling for redesign (#5439) 2022-11-09 14:28:44 +05:30
test_youtube_misc.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
test_youtube_signature.py [ie/youtube] Fix nsig and signature extraction for player 643afba4 (#12684) 2025-03-21 20:58:10 +00:00
test_YoutubeDL.py [core] Load plugins on demand (#11305) 2025-02-23 11:00:46 +13:00
test_YoutubeDLCookieJar.py [cleanup] Misc fixes 2023-07-22 09:09:52 +05:30
testcert.pem Add a test for --no-check-certificate 2015-01-30 02:57:37 +01:00