slash clears banks!

This commit is contained in:
Steven Brown
2017-10-12 23:12:27 +13:00
parent f416bcbecf
commit 1a086470c6
3 changed files with 11 additions and 110 deletions

View File

@@ -93,7 +93,7 @@ class video_driver(object):
def get_info_for_video_display(self):
if has_omx:
return self.current_player.bank_number, self.current_player.status, self.next_player.bank_number, \
self.next_player.status, self.current_player.position, self.current_player.length
self.next_player.status, self.current_player.get_position(), self.current_player.length
else:
return 0, 'test', 1, 'test', 0, 10
@@ -146,6 +146,7 @@ class video_player(object):
self.start = next_context['start']
self.end = next_context['end']
self.video_name = next_context['name']
self.bank_number = next_context['bank_number']
def reload_content(self):
self.status = 'RELOADING'