mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-06 13:11:11 -07:00
remove "separator" characters when concat. Fixes #570
This commit is contained in:
parent
a8d52e6e8f
commit
93c7ece98f
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ def buildCommands(file, newDir, movieName, bitbucket):
|
|||
elif check:
|
||||
name = ('%s.cd%s' % (movieName, check.groups()[0]))
|
||||
elif nzbtomedia.CONCAT and re.match("(.+)[cC][dD][0-9]", name):
|
||||
name = re.match("(.+)[cC][dD][0-9]", name).groups()[0][:-1]
|
||||
name = re.sub("([\ \.\-\_\=\:]+[cC][dD][0-9])", "", name)
|
||||
if ext == nzbtomedia.VEXTENSION and newDir == dir: # we need to change the name to prevent overwriting itself.
|
||||
nzbtomedia.VEXTENSION = '-transcoded' + nzbtomedia.VEXTENSION # adds '-transcoded.ext'
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue