[metadatafromtitle] Some improvements and cleanup
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 14 Mar 2015 18:55:42 +0000 (19:55 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 14 Mar 2015 19:06:33 +0000 (20:06 +0100)
commit88cf6fb3685c4e012c9f574cbc5f1836c42fc06d
tree7a2c2e2f1d69c989866cc34563a5a662ac7ef62e
parente7db87f7000143341505cff812d1fa0371ac901e
[metadatafromtitle] Some improvements and cleanup

* Remove the 'songtitle' field, 'title' can be used instead.
* Remove newlines in the help text, for consistency with other options.
* Add 'from __future__ import unicode_literals'.
* Call '__init__' from the parent class.
* Add test for the format_to_regex method
test/test_postprocessors.py [new file with mode: 0644]
youtube_dl/options.py
youtube_dl/postprocessor/ffmpeg.py
youtube_dl/postprocessor/metadatafromtitle.py