From: Jaime Marquínez Ferrándiz Date: Fri, 24 Apr 2015 20:08:00 +0000 (+0200) Subject: [postprocessor/embedthumbnail] Style fix X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=92995e6265d2287ee67af869e36a56a05fb86a06;p=youtube-dl [postprocessor/embedthumbnail] Style fix --- diff --git a/youtube_dl/postprocessor/embedthumbnail.py b/youtube_dl/postprocessor/embedthumbnail.py index a2d6b14db..7ba98a0ea 100644 --- a/youtube_dl/postprocessor/embedthumbnail.py +++ b/youtube_dl/postprocessor/embedthumbnail.py @@ -35,7 +35,8 @@ class EmbedThumbnailPP(FFmpegPostProcessor): compat_urlretrieve(info['thumbnail'], temp_thumbnail) if info['ext'] == 'mp3': - options = ['-i', temp_thumbnail, '-c', 'copy', '-map', '0', '-map', '1', + options = [ + '-i', temp_thumbnail, '-c', 'copy', '-map', '0', '-map', '1', '-metadata:s:v', 'title="Album cover"', '-metadata:s:v', 'comment="Cover (Front)"'] self._downloader.to_screen('[ffmpeg] Adding thumbnail to "%s"' % filename)