From e3b771a898728fd5df406104f2a18eeaf98ea654 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sat, 30 Jan 2021 16:43:54 +0530 Subject: [PATCH] fix typos :ci skip dl --- .github/ISSUE_TEMPLATE/1_broken_site.md | 6 +++--- .github/ISSUE_TEMPLATE/2_site_support_request.md | 4 ++-- .github/ISSUE_TEMPLATE/3_site_feature_request.md | 4 ++-- .github/ISSUE_TEMPLATE/4_bug_report.md | 6 +++--- .github/ISSUE_TEMPLATE/5_feature_request.md | 4 ++-- youtube_dlc/downloader/external.py | 2 +- youtube_dlc/postprocessor/embedthumbnail.py | 2 ++ youtube_dlc/postprocessor/ffmpeg.py | 4 ++-- 8 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1_broken_site.md b/.github/ISSUE_TEMPLATE/1_broken_site.md index 7f51131c9..84c472ba3 100644 --- a/.github/ISSUE_TEMPLATE/1_broken_site.md +++ b/.github/ISSUE_TEMPLATE/1_broken_site.md @@ -21,7 +21,7 @@ ## Checklist - [ ] I'm reporting a broken site support -- [ ] I've verified that I'm running yt-dlp version **2021.01.24** +- [ ] I've verified that I'm running yt-dlp version **2021.01.29** - [ ] I've checked that all provided URLs are alive and playable in a browser - [ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped - [ ] I've searched the bugtracker for similar issues including closed ones @@ -44,7 +44,7 @@ ## Verbose log [debug] User config: [] [debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 - [debug] yt-dlp version 2021.01.24 + [debug] yt-dlp version 2021.01.29 [debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2 [debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4 [debug] Proxy map: {} diff --git a/.github/ISSUE_TEMPLATE/2_site_support_request.md b/.github/ISSUE_TEMPLATE/2_site_support_request.md index e2772fd1c..5430bdb67 100644 --- a/.github/ISSUE_TEMPLATE/2_site_support_request.md +++ b/.github/ISSUE_TEMPLATE/2_site_support_request.md @@ -21,7 +21,7 @@ ## Checklist - [ ] I'm reporting a new site support request -- [ ] I've verified that I'm running yt-dlp version **2021.01.24** +- [ ] I've verified that I'm running yt-dlp version **2021.01.29** - [ ] I've checked that all provided URLs are alive and playable in a browser - [ ] I've checked that none of provided URLs violate any copyrights - [ ] I've searched the bugtracker for similar site support requests including closed ones diff --git a/.github/ISSUE_TEMPLATE/3_site_feature_request.md b/.github/ISSUE_TEMPLATE/3_site_feature_request.md index 6743305ba..62a3cfb82 100644 --- a/.github/ISSUE_TEMPLATE/3_site_feature_request.md +++ b/.github/ISSUE_TEMPLATE/3_site_feature_request.md @@ -21,13 +21,13 @@ ## Checklist - [ ] I'm reporting a site feature request -- [ ] I've verified that I'm running yt-dlp version **2021.01.24** +- [ ] I've verified that I'm running yt-dlp version **2021.01.29** - [ ] I've searched the bugtracker for similar site feature requests including closed ones diff --git a/.github/ISSUE_TEMPLATE/4_bug_report.md b/.github/ISSUE_TEMPLATE/4_bug_report.md index 5df9c8dd8..81ff2f7a8 100644 --- a/.github/ISSUE_TEMPLATE/4_bug_report.md +++ b/.github/ISSUE_TEMPLATE/4_bug_report.md @@ -21,7 +21,7 @@ ## Checklist - [ ] I'm reporting a broken site support issue -- [ ] I've verified that I'm running yt-dlp version **2021.01.24** +- [ ] I've verified that I'm running yt-dlp version **2021.01.29** - [ ] I've checked that all provided URLs are alive and playable in a browser - [ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped - [ ] I've searched the bugtracker for similar bug reports including closed ones @@ -46,7 +46,7 @@ ## Verbose log [debug] User config: [] [debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 - [debug] yt-dlp version 2021.01.24 + [debug] yt-dlp version 2021.01.29 [debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2 [debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4 [debug] Proxy map: {} diff --git a/.github/ISSUE_TEMPLATE/5_feature_request.md b/.github/ISSUE_TEMPLATE/5_feature_request.md index ec6c4df5c..39ffeee2a 100644 --- a/.github/ISSUE_TEMPLATE/5_feature_request.md +++ b/.github/ISSUE_TEMPLATE/5_feature_request.md @@ -21,13 +21,13 @@ ## Checklist - [ ] I'm reporting a feature request -- [ ] I've verified that I'm running yt-dlp version **2021.01.24** +- [ ] I've verified that I'm running yt-dlp version **2021.01.29** - [ ] I've searched the bugtracker for similar feature requests including closed ones diff --git a/youtube_dlc/downloader/external.py b/youtube_dlc/downloader/external.py index 62803a85e..8f82acdf4 100644 --- a/youtube_dlc/downloader/external.py +++ b/youtube_dlc/downloader/external.py @@ -233,7 +233,7 @@ def _call_downloader(self, tmpfilename, info_dict): url = info_dict['url'] ffpp = FFmpegPostProcessor(downloader=self) if not ffpp.available: - self.report_error('m3u8 download detected but ffmpeg could not be found. Please install one.') + self.report_error('m3u8 download detected but ffmpeg could not be found. Please install') return False ffpp.check_version() diff --git a/youtube_dlc/postprocessor/embedthumbnail.py b/youtube_dlc/postprocessor/embedthumbnail.py index 24750e3bd..334e05955 100644 --- a/youtube_dlc/postprocessor/embedthumbnail.py +++ b/youtube_dlc/postprocessor/embedthumbnail.py @@ -154,6 +154,8 @@ def is_webp(path): elif info['ext'] in ['ogg', 'opus']: if not _has_mutagen: raise EmbedThumbnailPPError('module mutagen was not found. Please install using `python -m pip install mutagen`') + self.to_screen('Adding thumbnail to "%s"' % filename) + size_regex = r',\s*(?P\d+)x(?P\d+)\s*[,\[]' size_result = self.run_ffmpeg(thumbnail_filename, thumbnail_filename, ['-hide_banner']) mobj = re.search(size_regex, size_result) diff --git a/youtube_dlc/postprocessor/ffmpeg.py b/youtube_dlc/postprocessor/ffmpeg.py index 2bc75e784..a364237ce 100644 --- a/youtube_dlc/postprocessor/ffmpeg.py +++ b/youtube_dlc/postprocessor/ffmpeg.py @@ -61,7 +61,7 @@ def __init__(self, downloader=None): def check_version(self): if not self.available: - raise FFmpegPostProcessorError('ffmpeg not found. Please install one.') + raise FFmpegPostProcessorError('ffmpeg not found. Please install') required_version = '10-0' if self.basename == 'avconv' else '1.0' if is_outdated_version( @@ -165,7 +165,7 @@ def probe_executable(self): def get_audio_codec(self, path): if not self.probe_available and not self.available: - raise PostProcessingError('ffprobe and ffmpeg not found. Please install one.') + raise PostProcessingError('ffprobe and ffmpeg not found. Please install') try: if self.probe_available: cmd = [