From e4e53b14b637b0517b042b65024510d3c7393e25 Mon Sep 17 00:00:00 2001 From: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Date: Mon, 24 Oct 2022 03:05:20 +0100 Subject: [PATCH] move ui data to "meta" (#8) companion PR https://github.com/OpenVoiceOS/ovos-plugin-manager/pull/85 --- ovos_tts_plugin_mimic/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ovos_tts_plugin_mimic/__init__.py b/ovos_tts_plugin_mimic/__init__.py index 0d112b4..b0d1b86 100755 --- a/ovos_tts_plugin_mimic/__init__.py +++ b/ovos_tts_plugin_mimic/__init__.py @@ -163,17 +163,17 @@ def get_tts_class(self): MimicTTSPluginConfig = { "en-gb": [ - {"voice": "ap", "gender": "male", "display_name": "Alan Pope", "offline": True, "priority": 50} + {"voice": "ap", "meta": {"gender": "male", "display_name": "Alan Pope", "offline": True, "priority": 50}} ], "en-us": [ - {"voice": "slt", "gender": "female", "display_name": "slt", "offline": True, "priority": 70}, - {"voice": "kal", "gender": "male", "display_name": "kal", "offline": True, "priority": 70}, - {"voice": "awb", "gender": "male", "display_name": "awb", "offline": True, "priority": 70}, - {"voice": "rms", "gender": "male", "display_name": "rms", "offline": True, "priority": 70} + {"voice": "slt", "meta": {"gender": "female", "display_name": "slt", "offline": True, "priority": 70}}, + {"voice": "kal", "meta": {"gender": "male", "display_name": "kal", "offline": True, "priority": 70}}, + {"voice": "awb", "meta": {"gender": "male", "display_name": "awb", "offline": True, "priority": 70}}, + {"voice": "rms", "meta": {"gender": "male", "display_name": "rms", "offline": True, "priority": 70}} ] } if MimicTTSPlugin.find_premium_mimic(): MimicTTSPluginConfig["en-us"].append( - {"voice": "trinity", "gender": "female", "display_name": "Trinity", "offline": True, "priority": 50} + {"voice": "trinity", "meta": {"gender": "female", "display_name": "Trinity", "offline": True, "priority": 50}} )