From 411d8031c3ce4547b9f165761f74f0067bea7e7b Mon Sep 17 00:00:00 2001 From: Olivier Date: Wed, 8 Jun 2016 08:26:04 +0200 Subject: [ExtractArchive] Fix --- module/plugins/internal/UnRar.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'module/plugins/internal/UnRar.py') diff --git a/module/plugins/internal/UnRar.py b/module/plugins/internal/UnRar.py index 3b1d7b290..b91f2455b 100644 --- a/module/plugins/internal/UnRar.py +++ b/module/plugins/internal/UnRar.py @@ -123,7 +123,7 @@ class UnRar(Extractor): break #: Reading a percentage sign -> set progress and restart if c == "%": - self.notifyprogress(int(s)) + self.pyfile.setProgress(int(s)) s = "" #: Not reading a digit -> therefore restart elif c not in string.digits: @@ -155,6 +155,9 @@ class UnRar(Extractor): if p.returncode: raise ArchiveError(_("Process return code: %d") % p.returncode) + self.files = self.list(password) + return self.files + def chunks(self): dir, name = os.path.split(self.filename) -- cgit v1.2.3