sandbox1
inpos 2016-03-17 22:23:45 +03:00
parent 6c6bf6f9d4
commit 4924bd3061
1 changed files with 3 additions and 3 deletions

View File

@ -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')),