aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan@users.noreply.github.com>2020-09-21 21:29:49 +0530
committerpukkandan <pukkandan@gmail.com>2020-12-13 20:05:03 +0530
commite51f368c275ea94dccc5cf4e07960d9c9633dfd5 (patch)
tree67037996ed836711a707a01627444334530f2560
parentf96bff99cb2cf1d112b099e5149dd2c3a6a76af2 (diff)
downloadhypervideo-pre-e51f368c275ea94dccc5cf4e07960d9c9633dfd5.tar.lz
hypervideo-pre-e51f368c275ea94dccc5cf4e07960d9c9633dfd5.tar.xz
hypervideo-pre-e51f368c275ea94dccc5cf4e07960d9c9633dfd5.zip
Fix for embedding thumbnail in mp3 by pauldubois98
Authored-by: Paul Dubois <pauldubois98@gmail.com>
-rw-r--r--youtube_dlc/postprocessor/embedthumbnail.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dlc/postprocessor/embedthumbnail.py b/youtube_dlc/postprocessor/embedthumbnail.py
index e9f2161a0..f73f93a58 100644
--- a/youtube_dlc/postprocessor/embedthumbnail.py
+++ b/youtube_dlc/postprocessor/embedthumbnail.py
@@ -76,8 +76,8 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
if info['ext'] == 'mp3':
options = [
- '-c', 'copy', '-map', '0', '-map', '1',
- '-metadata:s:v', 'title="Album cover"', '-metadata:s:v', 'comment="Cover (Front)"']
+ '-c', 'copy', '-map', '0:0', '-map', '1:0', '-id3v2_version', '3',
+ '-metadata:s:v', 'title="Album cover"', '-metadata:s:v', 'comment="Cover (front)"']
self._downloader.to_screen('[ffmpeg] Adding thumbnail to "%s"' % filename)