From e51f368c275ea94dccc5cf4e07960d9c9633dfd5 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Mon, 21 Sep 2020 21:29:49 +0530 Subject: [PATCH] Fix for embedding thumbnail in mp3 by pauldubois98 Authored-by: Paul Dubois --- youtube_dlc/postprocessor/embedthumbnail.py | 4 ++-- 1 file 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 @@ def is_webp(path): 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)