1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-25 18:27:42 +00:00

[postprocessor/embedthumbnail] Style fix

This commit is contained in:
Jaime Marquínez Ferrándiz 2015-04-24 22:08:00 +02:00
parent a4196c3ea5
commit 92995e6265

View file

@ -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)