]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/postprocessor/embedthumbnail.py
Merge tag 'upstream/2017.03.26'
[youtubedl] / youtube_dl / postprocessor / embedthumbnail.py
index 3bad5a266b6d51aaf0c92224a94986957da230f2..e606a58de886533fb5239b9bb958fbff9606a4ee 100644 (file)
@@ -1,4 +1,4 @@
-# -*- coding: utf-8 -*-
+# coding: utf-8
 from __future__ import unicode_literals
 
 
@@ -40,7 +40,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
                 'Skipping embedding the thumbnail because the file is missing.')
             return [], info
 
-        if info['ext'] in ('mp3', 'mkv'):
+        if info['ext'] == 'mp3':
             options = [
                 '-c', 'copy', '-map', '0', '-map', '1',
                 '-metadata:s:v', 'title="Album cover"', '-metadata:s:v', 'comment="Cover (Front)"']