aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/options.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-02-28 20:51:54 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-02-28 20:51:54 +0100
commit29cad7ad130c2e093c06d269c3b222e33adc218f (patch)
tree58d6b44e87712e9c461b83f892dbd7d173214eed /youtube_dl/options.py
parent1a2313a6f2d83c9e0a5c0c25bf5a2e3167994dbe (diff)
parent0d103de3b0b03c5027f0015327c2c44b9073513a (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r--youtube_dl/options.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index 886ce9613..58f811162 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -751,6 +751,10 @@ def parseOpts(overrideArguments=None):
'--exec',
metavar='CMD', dest='exec_cmd',
help='Execute a command on the file after downloading, similar to find\'s -exec syntax. Example: --exec \'adb push {} /sdcard/Music/ && rm {}\'')
+ postproc.add_option(
+ '--convert-subtitles', '--convert-subs',
+ metavar='FORMAT', dest='convertsubtitles', default=None,
+ help='Convert the subtitles to other format (currently supported: srt|ass|vtt)')
parser.add_option_group(general)
parser.add_option_group(network)