Skip to content

Commit

Permalink
fw played to server
Browse files Browse the repository at this point in the history
  • Loading branch information
llluis committed Feb 8, 2024
1 parent 0fff368 commit ff0b444
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wyoming_satellite/satellite.py
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,9 @@ async def trigger_detection(self, detection: Detection) -> None:
async def trigger_played(self) -> None:
"""Called when audio stopped playing"""
await run_event_command(self.settings.event.played)
await self.forward_event(Played().event())
event = Played().event()
await self.forward_event(event)
await self.event_to_server(event)

async def trigger_transcript(self, transcript: Transcript) -> None:
"""Called when speech-to-text text is received."""
Expand Down

0 comments on commit ff0b444

Please sign in to comment.