aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/postprocessor/embedthumbnail.py
diff options
context:
space:
mode:
authornixxo <nixxo@protonmail.com>2021-01-07 16:49:07 +0100
committerGitHub <noreply@github.com>2021-01-07 16:49:07 +0100
commit1c3a61baae8f9aea1fa5610317e9bfd63a259d2d (patch)
tree27b312678d5eb1bed87ebb0af9f453fbfa94a424 /youtube_dlc/postprocessor/embedthumbnail.py
parent727006d9515441ae44dd034955fd220d5afed9a6 (diff)
parent9d88274ca2e5248481204e753b458e3a4eeac60e (diff)
downloadhypervideo-pre-1c3a61baae8f9aea1fa5610317e9bfd63a259d2d.tar.lz
hypervideo-pre-1c3a61baae8f9aea1fa5610317e9bfd63a259d2d.tar.xz
hypervideo-pre-1c3a61baae8f9aea1fa5610317e9bfd63a259d2d.zip
Merge branch 'master' into akamai-fix
Diffstat (limited to 'youtube_dlc/postprocessor/embedthumbnail.py')
-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..94e3eca98 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)