Skip to content

Commit

Permalink
[plugin.py] ConfigSelection: Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Huevos committed Jul 11, 2022
1 parent 6650dd8 commit beb90d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugin/plugin.py
Expand Up @@ -233,13 +233,13 @@ def player_options(self, player_type, service_type):
serviceapp_cfg = config_serviceapp.options[service_type]
if player_type == "exteplayer3":
config_list.append(getConfigListEntry(" " + _("ExtEplayer3"),
ConfigSelection([EXTEPLAYER3_VERSION or "not installed"], EXTEPLAYER3_VERSION or _("not installed"))))
ConfigSelection([(EXTEPLAYER3_VERSION or "not installed", str(EXTEPLAYER3_VERSION) or _("not installed"))])))
if EXTEPLAYER3_VERSION:
config_list += self.exteplayer3_options(player_cfg)
config_list += self.serviceapp_options(serviceapp_cfg)
if player_type == "gstplayer":
config_list.append(getConfigListEntry(" " + _("GstPlayer"),
ConfigSelection([GSTPLAYER_VERSION or "not installed"], GSTPLAYER_VERSION or _("not installed"))))
ConfigSelection([(GSTPLAYER_VERSION or "not installed", str(GSTPLAYER_VERSION) or _("not installed"))])))
if GSTPLAYER_VERSION:
config_list += self.gstplayer_options(player_cfg)
config_list += self.serviceapp_options(serviceapp_cfg)
Expand Down

0 comments on commit beb90d2

Please sign in to comment.