mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-15 21:00:10 +01:00
some stuff
This commit is contained in:
@@ -123,20 +123,20 @@ class video_player(object):
|
||||
def load_content(self):
|
||||
self.status = 'LOADING'
|
||||
next_context = data_centre.get_next_context()
|
||||
logger.info('{} is loading now {}'.format(self.name, next_context['location']))
|
||||
logger.info('{} is loading now {}'.format(
|
||||
self.name, next_context['location']))
|
||||
self.omx.load(next_context['location'], 'after-first-frame',
|
||||
'--win 0,0,400,400 --no-osd', '')
|
||||
|
||||
def reload_content(self):
|
||||
self.status = 'RELOADING'
|
||||
if self.omx.omx_loaded and self.is_loaded():
|
||||
if self.is_loaded():
|
||||
self.exit()
|
||||
else:
|
||||
self.widget.after(50,self.reload_content)
|
||||
print("trying to reload")
|
||||
self.load_content()
|
||||
|
||||
|
||||
#layer = layer + 1
|
||||
|
||||
def set_to_default(self):
|
||||
|
||||
Reference in New Issue
Block a user