summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/UnRar.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/UnRar.py')
-rw-r--r--module/plugins/internal/UnRar.py5
1 files changed, 4 insertions, 1 deletions
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)