sandbox1
parent
6c6bf6f9d4
commit
4924bd3061
|
@ -565,8 +565,9 @@ class AnteoPlayer(xbmc.Player):
|
||||||
else:
|
else:
|
||||||
self.print_debug(status)
|
self.print_debug(status)
|
||||||
debug_counter=0
|
debug_counter=0
|
||||||
|
t = "\n".join(self._get_status_lines(status, file_status))
|
||||||
overlay.text = u"\n".join(self._get_status_lines(status, file_status))
|
log('++++++++++++++ t: %t' % (repr(t),))
|
||||||
|
overlay.text = t
|
||||||
|
|
||||||
self.iterator = int(file_status.progress * 100)
|
self.iterator = int(file_status.progress * 100)
|
||||||
|
|
||||||
|
@ -610,7 +611,6 @@ class AnteoPlayer(xbmc.Player):
|
||||||
event.remove(callback)
|
event.remove(callback)
|
||||||
|
|
||||||
def _get_status_lines(self, s, f):
|
def _get_status_lines(self, s, f):
|
||||||
log('++++++++++++++ %s , %s' % (s,f))
|
|
||||||
return [
|
return [
|
||||||
localize_path(self.display_name),
|
localize_path(self.display_name),
|
||||||
"%.2f%% %s" % (f.progress * 100, self.localize(STATE_STRS[s.state]).decode('utf-8')),
|
"%.2f%% %s" % (f.progress * 100, self.localize(STATE_STRS[s.state]).decode('utf-8')),
|
||||||
|
|
Loading…
Reference in New Issue