mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-06 13:11:11 -07:00
get correct subfile details. Fixes #678
This commit is contained in:
parent
3be7b1d684
commit
bf6a397f47
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ def buildCommands(file, newDir, movieName, bitbucket):
|
|||
|
||||
if nzbtomedia.SEMBED and os.path.isfile(file):
|
||||
for subfile in get_subs(file):
|
||||
sub_details, result = getVideoDetails(videofile)
|
||||
sub_details, result = getVideoDetails(subfile)
|
||||
if result != 0 or not sub_details.get("streams"):
|
||||
continue
|
||||
lan = os.path.splitext(os.path.splitext(subfile)[0])[1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue