From bc6f799dbf3392cea121d72dc76bdf73e1a2d01f Mon Sep 17 00:00:00 2001 From: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Date: Thu, 19 Dec 2024 08:38:08 +0000 Subject: [PATCH 1/3] fix: active skills in session (#50) --- ocp_pipeline/opm.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ocp_pipeline/opm.py b/ocp_pipeline/opm.py index 91f89ca..771b342 100644 --- a/ocp_pipeline/opm.py +++ b/ocp_pipeline/opm.py @@ -581,6 +581,7 @@ def handle_play_intent(self, message: Message): query = message.data["query"] media_type = message.data["media_type"] skills = message.data.get("skills", []) + sess = SessionManager.get(message) # search common play skills lang = standardize_lang_tag(lang) @@ -610,6 +611,9 @@ def handle_play_intent(self, message: Message): player = self.get_player(message) player.skill_id = best.skill_id self.update_player_proxy(player) + # add active skill to session + sess.activate_skill(best.skill_id) + message.context["session"] = sess.serialize() if not player.ocp_available: self.legacy_play(results, query, message=message) else: From 558307b8d2ae20d9876f82911f47794866373750 Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Thu, 19 Dec 2024 08:38:24 +0000 Subject: [PATCH 2/3] Increment Version to 1.1.3a1 --- ocp_pipeline/version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ocp_pipeline/version.py b/ocp_pipeline/version.py index 2de3060..39e4a47 100644 --- a/ocp_pipeline/version.py +++ b/ocp_pipeline/version.py @@ -1,6 +1,6 @@ # START_VERSION_BLOCK VERSION_MAJOR = 1 VERSION_MINOR = 1 -VERSION_BUILD = 2 -VERSION_ALPHA = 0 +VERSION_BUILD = 3 +VERSION_ALPHA = 1 # END_VERSION_BLOCK From af7e28b17e51b1fbb621238638487157e2858bc1 Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Thu, 19 Dec 2024 08:38:49 +0000 Subject: [PATCH 3/3] Update Changelog --- CHANGELOG.md | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 036a3fc..8f24b15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,28 +1,12 @@ # Changelog -## [1.1.2a1](https://github.com/OpenVoiceOS/ovos-ocp-pipeline-plugin/tree/1.1.2a1) (2024-12-19) +## [1.1.3a1](https://github.com/OpenVoiceOS/ovos-ocp-pipeline-plugin/tree/1.1.3a1) (2024-12-19) -[Full Changelog](https://github.com/OpenVoiceOS/ovos-ocp-pipeline-plugin/compare/1.1.1a1...1.1.2a1) +[Full Changelog](https://github.com/OpenVoiceOS/ovos-ocp-pipeline-plugin/compare/1.1.2...1.1.3a1) **Merged pull requests:** -- fix:dont\_allow\_load\_game [\#48](https://github.com/OpenVoiceOS/ovos-ocp-pipeline-plugin/pull/48) ([JarbasAl](https://github.com/JarbasAl)) - -## [1.1.1a1](https://github.com/OpenVoiceOS/ovos-ocp-pipeline-plugin/tree/1.1.1a1) (2024-12-19) - -[Full Changelog](https://github.com/OpenVoiceOS/ovos-ocp-pipeline-plugin/compare/1.1.0a1...1.1.1a1) - -**Merged pull requests:** - -- fix:improve\_media\_clf [\#46](https://github.com/OpenVoiceOS/ovos-ocp-pipeline-plugin/pull/46) ([JarbasAl](https://github.com/JarbasAl)) - -## [1.1.0a1](https://github.com/OpenVoiceOS/ovos-ocp-pipeline-plugin/tree/1.1.0a1) (2024-12-18) - -[Full Changelog](https://github.com/OpenVoiceOS/ovos-ocp-pipeline-plugin/compare/1.0.11...1.1.0a1) - -**Merged pull requests:** - -- feat: save/load game intent [\#44](https://github.com/OpenVoiceOS/ovos-ocp-pipeline-plugin/pull/44) ([JarbasAl](https://github.com/JarbasAl)) +- fix: active skills in session [\#50](https://github.com/OpenVoiceOS/ovos-ocp-pipeline-plugin/pull/50) ([JarbasAl](https://github.com/JarbasAl))