From 46016cd1648c16655400ab503765768102fce44d Mon Sep 17 00:00:00 2001 From: Kris Gesling Date: Wed, 9 Dec 2020 06:29:20 +0000 Subject: [PATCH] Ensure listener animation is shown anytime the mic is active. The animation handler got changed from record_begin to wakeword to make the animation show more quickly. This had the unintended effect that the animation does not show during Skill prompts. This also means the `mycroft.mic.listen` message can be used for button push activations. --- __init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/__init__.py b/__init__.py index ba2ae92..dafb720 100644 --- a/__init__.py +++ b/__init__.py @@ -136,6 +136,8 @@ def initialize(self): # Handle the 'waking' visual self.add_event('recognizer_loop:wakeword', self.handle_listener_started) + self.add_event('mycroft.mic.listen', + self.handle_listener_started) self.add_event('recognizer_loop:record_end', self.handle_listener_ended) self.add_event('mycroft.speech.recognition.unknown',