remove map for subtitles. #619. Also fix Transcoder logging.

This commit is contained in:
clinton-hall 2014-11-22 07:19:07 +10:30
parent 690c49e51f
commit 1f5bb1a18c
2 changed files with 4 additions and 3 deletions

View file

@ -87,6 +87,7 @@ def extract(filePath, outputDestination):
passwords = [line.strip() for line in open(os.path.normpath(nzbtomedia.PASSWORDSFILE))] passwords = [line.strip() for line in open(os.path.normpath(nzbtomedia.PASSWORDSFILE))]
else: else:
passwords = [] passwords = []
nzbtomedia.logger.info("Extracting %s to %s" % (filePath, outputDestination)) nzbtomedia.logger.info("Extracting %s to %s" % (filePath, outputDestination))
nzbtomedia.logger.debug("Extracting %s %s %s" % (cmd, filePath, outputDestination)) nzbtomedia.logger.debug("Extracting %s %s %s" % (cmd, filePath, outputDestination))

View file

@ -463,7 +463,7 @@ def buildCommands(file, newDir, movieName, bitbucket):
for subfile in get_subs(file): for subfile in get_subs(file):
n += 1 n += 1
command.extend(['-i', subfile]) 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(map_cmd)
command.extend(video_cmd) command.extend(video_cmd)