From 0d61ec6f401b056fcfc87724c29072c536c56e42 Mon Sep 17 00:00:00 2001 From: miro Date: Wed, 18 Dec 2024 11:54:53 +0000 Subject: [PATCH] resume --- ovos_workshop/skills/game_skill.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ovos_workshop/skills/game_skill.py b/ovos_workshop/skills/game_skill.py index fd3b7d8..ec67b8c 100644 --- a/ovos_workshop/skills/game_skill.py +++ b/ovos_workshop/skills/game_skill.py @@ -22,6 +22,7 @@ class OVOSGameSkill(OVOSCommonPlaybackSkill): bus events emitted to trigger this skill: - 'ovos.common_play.{self.skill_id}.play' - 'ovos.common_play.{self.skill_id}.pause' + - 'ovos.common_play.{self.skill_id}.resume' - 'ovos.common_play.{self.skill_id}.stop' - 'ovos.common_play.{self.skill_id}.save' - TODO add intent to ocp_pipeline exclusive to MediaType.GAME - 'ovos.common_play.{self.skill_id}.load' - TODO add intent to ocp_pipeline exclusive to MediaType.GAME @@ -41,6 +42,7 @@ def __init__(self, skill_voc_filename: str, # here we make them mandatory implementations via abc.abstractmethod self.__playback_handler = self.on_play_game self.__pause_handler = self.on_pause_game + self.__resume_handler = self.on_resume_game @ocp_featured_media() def _ocp_featured(self) -> Playlist: