forked from openlp/openlp
fix missing vlc
This commit is contained in:
parent
a7821bdd26
commit
22db084375
@ -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):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user