forked from 0x2620/pandora
fix path name of multi track videos
This commit is contained in:
parent
8391612d58
commit
717248bc73
1 changed files with 1 additions and 1 deletions
|
@ -524,7 +524,7 @@ class File(models.Model):
|
||||||
tinfo = ox.avinfo(target)
|
tinfo = ox.avinfo(target)
|
||||||
del tinfo['path']
|
del tinfo['path']
|
||||||
f = File(oshash=tinfo['oshash'], item=self.item)
|
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 = tinfo
|
||||||
f.info['language'] = language
|
f.info['language'] = language
|
||||||
f.info['extension'] = config['formats'][0]
|
f.info['extension'] = config['formats'][0]
|
||||||
|
|
Loading…
Reference in a new issue