From 2838a901ab95168f4b77a914d81f12803917b2e5 Mon Sep 17 00:00:00 2001 From: JarbasAi Date: Tue, 17 Oct 2023 00:31:20 +0100 Subject: [PATCH] feat/handle_hex_audiodata companion to https://github.com/OpenVoiceOS/ovos-audio/pull/34 --- ovos_workshop/skills/ovos.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ovos_workshop/skills/ovos.py b/ovos_workshop/skills/ovos.py index 1678068f..95e36759 100644 --- a/ovos_workshop/skills/ovos.py +++ b/ovos_workshop/skills/ovos.py @@ -1550,7 +1550,8 @@ def play_audio(self, filename: str, instant: bool = False): mtype = "mycroft.audio.play_sound" else: mtype = "mycroft.audio.queue" - if send_binary: + + if not send_binary: data = {"uri": filename} else: with open(filename, "rb") as f: