From bf6a397f47da84c97c9a6e557f0aa62f21f6267e Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Tue, 20 Jan 2015 10:57:23 +1030 Subject: [PATCH] get correct subfile details. Fixes #678 --- nzbtomedia/transcoder/transcoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nzbtomedia/transcoder/transcoder.py b/nzbtomedia/transcoder/transcoder.py index 68dcf3e0..fdc32769 100644 --- a/nzbtomedia/transcoder/transcoder.py +++ b/nzbtomedia/transcoder/transcoder.py @@ -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]