Fix detection of the extension if the 'extractaudio' is given and improve the error...
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 15 Dec 2013 10:42:38 +0000 (11:42 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 15 Dec 2013 10:42:38 +0000 (11:42 +0100)
commitdca02c80bc5c370bb3b15c9343d255dd124d2a93
tree6d951fa47dd2e79bce705cff4ced602bea400869
parent9ee859b683cd19bcdc01c2b6271ad7380a402ad2
Fix detection of the extension if the 'extractaudio' is given and improve the error message (#1969)

Using 'foo.mp4' shouldn't raise an error.
If 'foo' is given suggest using 'foo.%(ext)s' for the template
youtube_dl/__init__.py