Skip to content

Commit

Permalink
fix/sounds_in_docker
Browse files Browse the repository at this point in the history
default sounds only exist in ovos-audio, if running in docker ovos-workshop attempts to read the data from a nonexisting file

just try using self.acknowledge to demonstrate the issue
  • Loading branch information
JarbasAl authored Jan 23, 2024
1 parent f8e74a0 commit 3461a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ovos_workshop/skills/ovos.py
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,7 @@ def play_audio(self, filename: str, instant: bool = False):
else:
mtype = "mycroft.audio.queue"

if not send_binary:
if not send_binary or not isfile(filename):
data = {"uri": filename}
else:
with open(filename, "rb") as f:
Expand Down

0 comments on commit 3461a56

Please sign in to comment.