Skip to content

Commit

Permalink
feat/handle_hex_audiodata
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Oct 16, 2023
1 parent 17e3698 commit 2838a90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ovos_workshop/skills/ovos.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2838a90

Please sign in to comment.