Skip to content

Commit

Permalink
Merge pull request #72 from llluis/redo-send-played-event
Browse files Browse the repository at this point in the history
redo the send played event
  • Loading branch information
synesthesiam authored Jan 20, 2024
2 parents 038e966 + a638600 commit 20bbd3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wyoming_satellite/satellite.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
StreamingStarted,
StreamingStopped,
)
from wyoming.snd import SndProcessAsyncClient
from wyoming.snd import SndProcessAsyncClient, Played
from wyoming.tts import Synthesize
from wyoming.vad import VoiceStarted, VoiceStopped
from wyoming.wake import Detect, Detection, WakeProcessAsyncClient
Expand Down Expand Up @@ -550,6 +550,7 @@ async def _disconnect() -> None:
event.type
):
await _disconnect()
await self.forward_event(Played().event())
snd_client = None # reconnect on next event
except asyncio.CancelledError:
break
Expand Down

0 comments on commit 20bbd3c

Please sign in to comment.