From c1b73be96a9dd1bc9d6080033ceb478f9a2ac2a6 Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Thu, 19 May 2016 13:27:39 +0930 Subject: [PATCH] fix string and integer concat error. Fixes #1036 --- core/transcoder/transcoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/transcoder/transcoder.py b/core/transcoder/transcoder.py index 80f264ec..a3e536f5 100644 --- a/core/transcoder/transcoder.py +++ b/core/transcoder/transcoder.py @@ -419,7 +419,7 @@ def buildCommands(file, newDir, movieName, bitbucket): if subStreams[index]["index"] == sub["index"]: subloc = index break - video_cmd.extend(['-vf', 'subtitles=' + inputFile + ":si=" + subloc]) + video_cmd.extend(['-vf', 'subtitles=' + inputFile + ':si=' + str(subloc)]) burnt = 1 if not core.ALLOWSUBS: break