From 3301a83321bdd024797983809a7975296ec5e1f9 Mon Sep 17 00:00:00 2001 From: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Date: Thu, 12 Sep 2024 00:13:51 +0100 Subject: [PATCH 1/3] fix:default_config (#265) handle when config isnt passed to Factory --- ovos_plugin_manager/g2p.py | 1 + ovos_plugin_manager/microphone.py | 1 + ovos_plugin_manager/vad.py | 1 + 3 files changed, 3 insertions(+) diff --git a/ovos_plugin_manager/g2p.py b/ovos_plugin_manager/g2p.py index 8a8bcdfe..7fca7b95 100644 --- a/ovos_plugin_manager/g2p.py +++ b/ovos_plugin_manager/g2p.py @@ -107,6 +107,7 @@ def create(cls, config=None): "module": } """ + config = config or Configuration() if "g2p" in config: config = config["g2p"] g2p_config = get_g2p_config(config) diff --git a/ovos_plugin_manager/microphone.py b/ovos_plugin_manager/microphone.py index f649b130..9e4c86c8 100644 --- a/ovos_plugin_manager/microphone.py +++ b/ovos_plugin_manager/microphone.py @@ -60,6 +60,7 @@ def create(cls, config=None): "module": } """ + config = config or Configuration() if "microphone" in config: config = config["microphone"] microphone_config = get_microphone_config(config) diff --git a/ovos_plugin_manager/vad.py b/ovos_plugin_manager/vad.py index 5d4b2589..5634bfea 100644 --- a/ovos_plugin_manager/vad.py +++ b/ovos_plugin_manager/vad.py @@ -92,6 +92,7 @@ def create(cls, config=None): "module": } """ + config = config or Configuration() if "listener" in config: config = config["listener"] if "VAD" in config: From 33e9e27a0e682e79587c9169f657aeb8c74da847 Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Wed, 11 Sep 2024 23:14:10 +0000 Subject: [PATCH 2/3] Increment Version to 0.3.1a1 --- ovos_plugin_manager/version.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ovos_plugin_manager/version.py b/ovos_plugin_manager/version.py index 304eca8f..4cf88743 100644 --- a/ovos_plugin_manager/version.py +++ b/ovos_plugin_manager/version.py @@ -1,6 +1,6 @@ # START_VERSION_BLOCK VERSION_MAJOR = 0 VERSION_MINOR = 3 -VERSION_BUILD = 0 -VERSION_ALPHA = 0 -# END_VERSION_BLOCK +VERSION_BUILD = 1 +VERSION_ALPHA = 1 +# END_VERSION_BLOCK \ No newline at end of file From 293f3ad6477a86145e533ea4c2f60eaa3e9701b6 Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Wed, 11 Sep 2024 23:14:41 +0000 Subject: [PATCH 3/3] Update Changelog --- CHANGELOG.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3964b469..a9299397 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,12 @@ # Changelog -## [0.3.0a1](https://github.com/OpenVoiceOS/ovos-plugin-manager/tree/0.3.0a1) (2024-09-11) +## [0.3.1a1](https://github.com/OpenVoiceOS/ovos-plugin-manager/tree/0.3.1a1) (2024-09-11) -[Full Changelog](https://github.com/OpenVoiceOS/ovos-plugin-manager/compare/0.2.0...0.3.0a1) +[Full Changelog](https://github.com/OpenVoiceOS/ovos-plugin-manager/compare/0.3.0...0.3.1a1) **Merged pull requests:** -- feat:fallback\_plugins [\#263](https://github.com/OpenVoiceOS/ovos-plugin-manager/pull/263) ([JarbasAl](https://github.com/JarbasAl)) -- chore:semver\_versioning [\#262](https://github.com/OpenVoiceOS/ovos-plugin-manager/pull/262) ([JarbasAl](https://github.com/JarbasAl)) +- fix:default\_config [\#265](https://github.com/OpenVoiceOS/ovos-plugin-manager/pull/265) ([JarbasAl](https://github.com/JarbasAl))