Browse Source

[postprocessor/embedthumbnail] Style fix

totalwebcasting
Jaime Marquínez Ferrándiz 10 years ago
parent
commit
92995e6265
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/postprocessor/embedthumbnail.py

+ 2
- 1
youtube_dl/postprocessor/embedthumbnail.py 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)


Loading…
Cancel
Save