aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/postprocessor/embedthumbnail.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan@gmail.com>2021-01-29 23:15:27 +0530
committerpukkandan <pukkandan@gmail.com>2021-01-29 23:16:00 +0530
commite38df8f9fa4d715513453928591346f680dbe298 (patch)
tree80e8eff25fbb5920b11792d7b3e1dd9199dd857a /youtube_dlc/postprocessor/embedthumbnail.py
parentcaa15a7b57e7bec31c5dd2e1a5249110b282aab1 (diff)
downloadhypervideo-pre-e38df8f9fa4d715513453928591346f680dbe298.tar.lz
hypervideo-pre-e38df8f9fa4d715513453928591346f680dbe298.tar.xz
hypervideo-pre-e38df8f9fa4d715513453928591346f680dbe298.zip
Refactor `update-version`, `pyinst.py` and related files
* Refactor update-version * Moved pyinst, update-version and icon into devscripts * pyinst doesn't bump version anymore * Merge pyinst and pyinst32. Usage: `pyinst.py [32|64]` * Add mutagen as requirement * Remove make_win and related files
Diffstat (limited to 'youtube_dlc/postprocessor/embedthumbnail.py')
-rw-r--r--youtube_dlc/postprocessor/embedthumbnail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dlc/postprocessor/embedthumbnail.py b/youtube_dlc/postprocessor/embedthumbnail.py
index b9205a5ca..24750e3bd 100644
--- a/youtube_dlc/postprocessor/embedthumbnail.py
+++ b/youtube_dlc/postprocessor/embedthumbnail.py
@@ -153,7 +153,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
elif info['ext'] in ['ogg', 'opus']:
if not _has_mutagen:
- raise EmbedThumbnailPPError('module mutagen was not found. Please install')
+ raise EmbedThumbnailPPError('module mutagen was not found. Please install using `python -m pip install mutagen`')
size_regex = r',\s*(?P<w>\d+)x(?P<h>\d+)\s*[,\[]'
size_result = self.run_ffmpeg(thumbnail_filename, thumbnail_filename, ['-hide_banner'])
mobj = re.search(size_regex, size_result)