mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-07 13:41:12 -07:00
fix return for subtitle extract. Fixes #489
This commit is contained in:
parent
35b74d5228
commit
ddd947aeb0
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ def get_subs(file):
|
||||||
return subfiles
|
return subfiles
|
||||||
|
|
||||||
def extract_subs(file, newfilePath, bitbucket):
|
def extract_subs(file, newfilePath, bitbucket):
|
||||||
video_details = getVideoDetails(file)
|
video_details, result = getVideoDetails(file)
|
||||||
if not video_details:
|
if not video_details:
|
||||||
return
|
return
|
||||||
subStreams = [item for item in video_details["streams"] if item["codec_type"] == "subtitle"]
|
subStreams = [item for item in video_details["streams"] if item["codec_type"] == "subtitle"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue