we don't need to run ffmpeg more times
authorpulpe <Pulpan3@gmail.com>
Sat, 22 Feb 2014 17:31:54 +0000 (18:31 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 26 Mar 2014 14:22:52 +0000 (15:22 +0100)
youtube_dl/__init__.py

index 8b95a6d9bb4eb2f6756703a75b6f50a001d8377b..4f4ec3871f1445cfee7a2ce16954913e1d9aea8d 100644 (file)
@@ -808,7 +808,8 @@ def _real_main(argv=None):
         if opts.xattrs:
             ydl.add_post_processor(XAttrMetadataPP())
         if opts.embedthumbnail:
-            ydl.add_post_processor(FFmpegAudioFixPP())
+            if not opts.addmetadata:
+                ydl.add_post_processor(FFmpegAudioFixPP())
             ydl.add_post_processor(AtomicParsleyPP())
 
         # Update version