[embedthumbnail] Add support for mp3 cover embedding

This commit is contained in:
pulpe 2015-04-24 08:48:49 +02:00
parent 4d6a3ff411
commit ddbed36455
5 changed files with 92 additions and 67 deletions

View file

@ -240,9 +240,7 @@ def _real_main(argv=None):
if opts.xattrs:
postprocessors.append({'key': 'XAttrMetadata'})
if opts.embedthumbnail:
if not opts.addmetadata:
postprocessors.append({'key': 'FFmpegAudioFix'})
postprocessors.append({'key': 'AtomicParsley'})
postprocessors.append({'key': 'EmbedThumbnail'})
# Please keep ExecAfterDownload towards the bottom as it allows the user to modify the final file in any way.
# So if the user is able to remove the file before your postprocessor runs it might cause a few problems.
if opts.exec_cmd: