From 717248bc7380a303d7d56e15de90187ef474849e Mon Sep 17 00:00:00 2001 From: j Date: Tue, 22 May 2018 01:27:43 +0200 Subject: [PATCH] fix path name of multi track videos --- pandora/archive/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/archive/models.py b/pandora/archive/models.py index 9889601d..601eb602 100644 --- a/pandora/archive/models.py +++ b/pandora/archive/models.py @@ -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]