fix missing vlc

This commit is contained in:
Tim Bentley 2019-05-05 06:59:29 +01:00
parent a7821bdd26
commit 22db084375

View File

@ -139,13 +139,14 @@ class MediaController(RegistryBase, LogMixin, RegistryProperties):
Set up the controllers. Set up the controllers.
:return: :return:
""" """
try: if State().check_preconditions('mediacontroller'):
self.setup_display(self.live_controller.display, False) try:
except AttributeError: self.setup_display(self.live_controller.display, False)
State().update_pre_conditions('media_live', False) except AttributeError:
State().missing_text('media_live', translate('OpenLP.SlideController', State().update_pre_conditions('media_live', False)
'No Displays configure so Live Media has been disabled')) State().missing_text('media_live', translate('OpenLP.SlideController',
self.setup_display(self.preview_controller.preview_display, True) 'No Displays configure so Live Media has been disabled'))
self.setup_display(self.preview_controller.preview_display, True)
def display_controllers(self, controller_type): def display_controllers(self, controller_type):
""" """