undo oups

This commit is contained in:
Luis Andrade
2024-01-19 04:50:28 +00:00
parent 1bceb97177
commit 3b2842d11b
+1 -2
View File
@@ -25,7 +25,7 @@ from wyoming.satellite import (
StreamingStarted, StreamingStarted,
StreamingStopped, StreamingStopped,
) )
from wyoming.snd import SndProcessAsyncClient, Played from wyoming.snd import SndProcessAsyncClient
from wyoming.tts import Synthesize from wyoming.tts import Synthesize
from wyoming.vad import VoiceStarted, VoiceStopped from wyoming.vad import VoiceStarted, VoiceStopped
from wyoming.wake import Detect, Detection, WakeProcessAsyncClient from wyoming.wake import Detect, Detection, WakeProcessAsyncClient
@@ -550,7 +550,6 @@ class SatelliteBase:
event.type event.type
): ):
await _disconnect() await _disconnect()
await self.forward_event(Played().event())
snd_client = None # reconnect on next event snd_client = None # reconnect on next event
except asyncio.CancelledError: except asyncio.CancelledError:
break break