mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-06 21:21:12 -07:00
fix indexing of subfiles. Fixes #619
This commit is contained in:
parent
e0b7ec3c23
commit
55195a353b
1 changed files with 1 additions and 1 deletions
|
@ -461,9 +461,9 @@ def buildCommands(file, newDir, movieName, bitbucket):
|
|||
if nzbtomedia.SEMBED and os.path.isfile(file):
|
||||
filenum = 1
|
||||
for subfile in get_subs(file):
|
||||
n += 1
|
||||
command.extend(['-i', subfile])
|
||||
map_cmd.extend(['-map', n])
|
||||
n += 1
|
||||
|
||||
command.extend(map_cmd)
|
||||
command.extend(video_cmd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue