From 1f5bb1a18c44976d028c7e66628c6004b781566f Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Sat, 22 Nov 2014 07:19:07 +1030 Subject: [PATCH] remove map for subtitles. #619. Also fix Transcoder logging. --- nzbtomedia/extractor/extractor.py | 5 +++-- nzbtomedia/transcoder/transcoder.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/nzbtomedia/extractor/extractor.py b/nzbtomedia/extractor/extractor.py index 319ce3e7..ecd17d01 100644 --- a/nzbtomedia/extractor/extractor.py +++ b/nzbtomedia/extractor/extractor.py @@ -87,8 +87,9 @@ def extract(filePath, outputDestination): passwords = [line.strip() for line in open(os.path.normpath(nzbtomedia.PASSWORDSFILE))] else: passwords = [] - nzbtomedia.logger.info("Extracting %s to %s" % (filePath, outputDestination)) - nzbtomedia.logger.debug("Extracting %s %s %s" % (cmd, filePath, outputDestination)) + + nzbtomedia.logger.info("Extracting %s to %s" % (filePath, outputDestination)) + nzbtomedia.logger.debug("Extracting %s %s %s" % (cmd, filePath, outputDestination)) origFiles = [] origDirs = [] diff --git a/nzbtomedia/transcoder/transcoder.py b/nzbtomedia/transcoder/transcoder.py index 01f7e2a0..56e09a5c 100644 --- a/nzbtomedia/transcoder/transcoder.py +++ b/nzbtomedia/transcoder/transcoder.py @@ -463,7 +463,7 @@ def buildCommands(file, newDir, movieName, bitbucket): for subfile in get_subs(file): n += 1 command.extend(['-i', subfile]) - map_cmd.extend(['-map', n]) + #map_cmd.extend(['-map', n]) #Commented out as this appears to break the transcode. command.extend(map_cmd) command.extend(video_cmd)