forked from openlp/openlp
Fix failing situation by making default_players a list instead of a string
This commit is contained in:
parent
3108adff17
commit
fc3c433a21
@ -518,7 +518,7 @@ class MediaController(RegistryMixin, OpenLPMixin, RegistryProperties):
|
|||||||
# If no player, we can't play
|
# If no player, we can't play
|
||||||
if not used_players:
|
if not used_players:
|
||||||
return False
|
return False
|
||||||
default_player = used_players[0]
|
default_player = [used_players[0]]
|
||||||
if service_item.processor and service_item.processor != UiStrings().Automatic:
|
if service_item.processor and service_item.processor != UiStrings().Automatic:
|
||||||
# check to see if the player is usable else use the default one.
|
# check to see if the player is usable else use the default one.
|
||||||
if not service_item.processor.lower() in used_players:
|
if not service_item.processor.lower() in used_players:
|
||||||
|
Loading…
Reference in New Issue
Block a user