не всегда скорость выше 8 Мбит/с
parent
ce28dbd42a
commit
68687cd699
|
@ -29,6 +29,8 @@ class TorrentPlayer(xbmc.Player) :
|
||||||
pw.create(localize(33055), line1='0 Kbit/s')
|
pw.create(localize(33055), line1='0 Kbit/s')
|
||||||
f_size = self.pyrrent_engine.file_status(f_index).size
|
f_size = self.pyrrent_engine.file_status(f_index).size
|
||||||
EXPECTED_KBYTES = f_size / 3 / 1024 / 1024
|
EXPECTED_KBYTES = f_size / 3 / 1024 / 1024
|
||||||
|
if EXPECTED_KBYTES > 768:
|
||||||
|
EXPECTED_KBYTES = 768
|
||||||
while True:
|
while True:
|
||||||
xbmc.sleep(500)
|
xbmc.sleep(500)
|
||||||
if monitor.abortRequested() or pw.iscanceled():
|
if monitor.abortRequested() or pw.iscanceled():
|
||||||
|
|
Loading…
Reference in New Issue