[options] Accept lrc as a subtitle conversion target format (closes #14292)
This commit is contained in:
parent
8c6919e433
commit
8c2895305d
3 changed files with 3 additions and 2 deletions
|
@ -206,7 +206,7 @@ def _real_main(argv=None):
|
|||
if opts.recodevideo not in ['mp4', 'flv', 'webm', 'ogg', 'mkv', 'avi']:
|
||||
parser.error('invalid video recode format specified')
|
||||
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')
|
||||
|
||||
if opts.date is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue