forked from openlp/openlp
Fix system player being used for live-background
This commit is contained in:
parent
6b35a99775
commit
2e23d9919d
@ -531,7 +531,11 @@ class MediaController(RegistryMixin, OpenLPMixin, RegistryProperties):
|
||||
if not title:
|
||||
continue
|
||||
player = self.media_players[title]
|
||||
# The system player may not return what files it can play so add it now
|
||||
# and check whether it can play the file later
|
||||
if title == 'system':
|
||||
if not controller.media_info.is_background or controller.media_info.is_background and \
|
||||
player.can_background:
|
||||
self.resize(display, player)
|
||||
if player.load(display):
|
||||
self.current_media_players[controller.controller_type] = player
|
||||
|
Loading…
Reference in New Issue
Block a user