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