From c4fea222a9dd5a6ab1536bc7b3934341b72349d9 Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Mon, 27 Feb 2017 16:16:52 +1030 Subject: [PATCH] fix non-iterable type. Fixes #1210 --- core/transcoder/transcoder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/transcoder/transcoder.py b/core/transcoder/transcoder.py index f8417f6b..19427aa6 100644 --- a/core/transcoder/transcoder.py +++ b/core/transcoder/transcoder.py @@ -382,7 +382,8 @@ def buildCommands(file, newDir, movieName, bitbucket): audio_cmd.extend(audio_cmd2) if core.AINCLUDE and core.ACODEC3: - for audio in audioStreams.extend(commentary): #add commentry tracks back here. + audioStreams.extend(commentary) #add commentry tracks back here. + for audio in audioStreams: if audio["index"] in a_mapped: continue used_audio += 1