fix path name of multi track videos

This commit is contained in:
j 2018-05-22 01:27:43 +02:00
parent 8391612d58
commit 717248bc73
1 changed files with 1 additions and 1 deletions

View File

@ -524,7 +524,7 @@ class File(models.Model):
tinfo = ox.avinfo(target)
del tinfo['path']
f = File(oshash=tinfo['oshash'], item=self.item)
f.path = self.path.rsplit('.', 1)[0] + config['formats'][0]
f.path = self.path.rsplit('.', 1)[0] + '.' + config['formats'][0]
f.info = tinfo
f.info['language'] = language
f.info['extension'] = config['formats'][0]