diff --git a/ovos_core/intent_services/__init__.py b/ovos_core/intent_services/__init__.py index 074f6b17db40..94f23249003a 100644 --- a/ovos_core/intent_services/__init__.py +++ b/ovos_core/intent_services/__init__.py @@ -29,7 +29,6 @@ from ovos_utils.log import LOG from ovos_utils.messagebus import get_message_lang from ovos_utils.metrics import Stopwatch -from ovos_utils.sound import play_error_sound try: from ovos_core.intent_services.padatious_service import PadatiousService, PadatiousMatcher @@ -344,7 +343,8 @@ def send_complete_intent_failure(self, message): Args: message (Message): original message to forward from """ - play_error_sound() + sound = Configuration().get('sounds', {}).get('error', "snd/error.mp3") + self.bus.emit(message.forward('mycroft.audio.play_sound', {"uri": sound})) self.bus.emit(message.forward('complete_intent_failure')) def handle_register_vocab(self, message):