]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[YoutubeDL] mp3 is compatible with mp4
authorSergey M․ <dstftw@gmail.com>
Mon, 20 Apr 2015 15:58:46 +0000 (21:58 +0600)
committerSergey M․ <dstftw@gmail.com>
Mon, 20 Apr 2015 15:58:46 +0000 (21:58 +0600)
youtube_dl/YoutubeDL.py

index b5fddb8e7ce357ef58d50dba761a233ec17cbcfc..5b2c3aa381941b94a69a3385351eec3404e161b2 100755 (executable)
@@ -1380,7 +1380,7 @@ class YoutubeDL(object):
                         video_ext, audio_ext = audio.get('ext'), video.get('ext')
                         if video_ext and audio_ext:
                             COMPATIBLE_EXTS = (
-                                ('mp4', 'm4a', 'm4p', 'm4b', 'm4r', 'm4v'),
+                                ('mp3', 'mp4', 'm4a', 'm4p', 'm4b', 'm4r', 'm4v'),
                                 ('webm')
                             )
                             for exts in COMPATIBLE_EXTS: