1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-30 23:24:16 +01:00

get_one_media: force stop when --force-subtitle is used

This commit is contained in:
Johan Andersson 2014-04-27 16:00:57 +02:00
parent 32fbe5051f
commit 4a7a72f6e7

View File

@ -115,6 +115,8 @@ def get_one_media(stream, options):
if options.subtitle and options.output != "-":
if subs:
subs[0].download(options)
if options.force_subtitle:
return
stream = select_quality(options, videos)