mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
remove map for subtitles. #619. Also fix Transcoder logging.
This commit is contained in:
parent
690c49e51f
commit
1f5bb1a18c
2 changed files with 4 additions and 3 deletions
|
@ -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))
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue