From 0c8dc650e52323f741bdaf50a864f1ebd819e6c6 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 19 Aug 2009 17:13:35 +0200 Subject: webinterface statusbar --- pyLoadCore.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pyLoadCore.py') diff --git a/pyLoadCore.py b/pyLoadCore.py index 8fa737c53..b92d61114 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -250,6 +250,11 @@ class Core(object): status = {} status['pause'] = self.thread_list.pause status['queue'] = len(self.file_list.files) + status['speed'] = 0 + + for pyfile in self.thread_list.py_downloading: + status['speed'] += pyfile.status.get_speed() + return status def init_server(self): -- cgit v1.2.3