MycroftAI / mycroft-core

Mycroft Core, the Mycroft Artificial Intelligence platform.
https://mycroft.ai
Apache License 2.0
6.51k stars 1.27k forks source link

MycroftSkill.acknowledge() plays a sound when a context.destination other than itself is targeted #3009

Closed iointerrupt closed 2 years ago

iointerrupt commented 2 years ago

While working on a skill that uses the MycroftSkill.acknowledge() function for a successful requests, a sound is played from the speaker even when a different destination is targeted. Wondering whether it should do that or should it be up to the skill to handle it.

krisgesling commented 2 years ago

Hey there, the message destination isn't currently used in stock Mycroft-core. So an acknowledge() tone is going to play on the device running Mycroft. You'd need to look at something like HiveMind to route audio back to a different speaker satellite.

If I've misunderstood, please re-open.