forked from openlp/openlp
Merge branch 'fix-preview-pause-play' into 'master'
Fix preview video restart after pause or stop See merge request openlp/openlp!306
This commit is contained in:
commit
cc07ab572c
@ -462,9 +462,9 @@ class MediaController(RegistryBase, LogMixin, RegistryProperties):
|
|||||||
controller.volume_slider.blockSignals(False)
|
controller.volume_slider.blockSignals(False)
|
||||||
controller.media_info.is_playing = True
|
controller.media_info.is_playing = True
|
||||||
if not controller.media_info.is_background:
|
if not controller.media_info.is_background:
|
||||||
|
display = self._define_display(controller)
|
||||||
if controller.is_live:
|
if controller.is_live:
|
||||||
controller.set_hide_mode(None)
|
controller.set_hide_mode(None)
|
||||||
display = self._define_display(controller)
|
|
||||||
display.hide_display(HideMode.Screen)
|
display.hide_display(HideMode.Screen)
|
||||||
controller._set_theme(controller.service_item)
|
controller._set_theme(controller.service_item)
|
||||||
display.load_verses([{"verse": "v1", "text": "", "footer": " "}])
|
display.load_verses([{"verse": "v1", "text": "", "footer": " "}])
|
||||||
|
Loading…
Reference in New Issue
Block a user