|
|
@ -206,7 +206,7 @@ def _real_main(argv=None):
|
|
|
|
if opts.recodevideo not in ['mp4', 'flv', 'webm', 'ogg', 'mkv', 'avi']:
|
|
|
|
if opts.recodevideo not in ['mp4', 'flv', 'webm', 'ogg', 'mkv', 'avi']:
|
|
|
|
parser.error('invalid video recode format specified')
|
|
|
|
parser.error('invalid video recode format specified')
|
|
|
|
if opts.convertsubtitles is not None:
|
|
|
|
if opts.convertsubtitles is not None:
|
|
|
|
if opts.convertsubtitles not in ['srt', 'vtt', 'ass']:
|
|
|
|
if opts.convertsubtitles not in ['srt', 'vtt', 'ass', 'lrc']:
|
|
|
|
parser.error('invalid subtitle format specified')
|
|
|
|
parser.error('invalid subtitle format specified')
|
|
|
|
|
|
|
|
|
|
|
|
if opts.date is not None:
|
|
|
|
if opts.date is not None:
|
|
|
|