Skip to content

Commit

Permalink
Merge pull request #1 from pauldubois98/pauldubois98-patch-1
Browse files Browse the repository at this point in the history
Patch --embed-thumbnail option via the embedthumbnail.py file
  • Loading branch information
pauldubois98 authored Jun 17, 2019
2 parents 7c24a58 + a02660e commit 0437320
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions youtube_dl/postprocessor/embedthumbnail.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def run(self, info):

if info['ext'] == 'mp3':
options = [
'-c', 'copy', '-map', '0', '-map', '1',
'-metadata:s:v', 'title="Album cover"', '-metadata:s:v', 'comment="Cover (Front)"']
'-c', 'copy', '-map', '0:0', '-map', '1:0', '-id3v2_version', '3',
'-metadata:s:v', 'title="Album cover"', '-metadata:s:v', 'comment="Cover (front)"']

self._downloader.to_screen('[ffmpeg] Adding thumbnail to "%s"' % filename)

Expand Down

0 comments on commit 0437320

Please sign in to comment.