Fix failing situation by making default_players a list instead of a string

This commit is contained in:
Jonathan Springer 2015-12-10 12:26:08 -05:00
parent 3108adff17
commit fc3c433a21
1 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@ class MediaController(RegistryMixin, OpenLPMixin, RegistryProperties):
# If no player, we can't play
if not used_players:
return False
default_player = used_players[0]
default_player = [used_players[0]]
if service_item.processor and service_item.processor != UiStrings().Automatic:
# check to see if the player is usable else use the default one.
if not service_item.processor.lower() in used_players: