projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[postprocessor/embedthumbnail] Style fix
[youtube-dl]
/
youtube_dl
/
postprocessor
/
embedthumbnail.py
diff --git
a/youtube_dl/postprocessor/embedthumbnail.py
b/youtube_dl/postprocessor/embedthumbnail.py
index a2d6b14dbb47387c33c8514cd141879ab0c83753..7ba98a0ea6afbafc52e086ea29c704b8b736b948 100644
(file)
--- 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':
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)
'-metadata:s:v', 'title="Album cover"', '-metadata:s:v', 'comment="Cover (Front)"']
self._downloader.to_screen('[ffmpeg] Adding thumbnail to "%s"' % filename)