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)) 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: 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