def process(self, data): if "mycroft.stop" in data: self.client.emit(Message("mycroft.stop")) kill(['mimic']) # TODO - Refactoring in favor of Mycroft Stop if "volume.up" in data: self.client.emit(Message("IncreaseVolumeIntent")) if "volume.down" in data: self.client.emit(Message("DecreaseVolumeIntent"))
def handle_stop(event): kill([config.get('tts').get('module')])
def handle_stop(event): kill([config.get('tts').get('module')]) kill(["aplay"])
def process(self, data): if "mycroft.stop" in data: self.client.emit(Message("mycroft.stop")) kill(['mimic']) # TODO - Refactoring in favor of Mycroft Stop
def handle_stop(event): global _last_stop_signal _last_stop_signal = time.time() kill([config.get('tts').get('module')]) kill(["aplay"])