From 3804232cf19ed87f02a2ddcb9ea7e742f004d451 Mon Sep 17 00:00:00 2001 From: bel Date: Sun, 26 Mar 2023 21:37:14 -0600 Subject: [PATCH] update how to run hotwords to halt the game and stop hotwording --- README.md | 2 +- config.d/mayhem-party.d/v01.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b5701ed..44188e6 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ See `./config.d/rusty-pipe.d` ## STT -`cd ./git.d/stt.d/whisper-2023; HOTWORDS=../../../config.d/stt.d/hotwords.txt MIC_TIMEOUT=2 URL=http://localhost:17071/config HEADERS=say='Eye herd {{hotword}}' BODY='[{"op":"replace", "path":"/Quiet", "value":true}]' python3 ./hotwords.py' +`cd ./git.d/stt.d/whisper-2023; HOTWORDS=../../../config.d/mayhem-party.d/v01.yaml@.users[].message MIC_TIMEOUT=2 URL=http://localhost:17071/config HEADERS=say='Eye herd {{hotword}}' BODY='[{"op":"replace", "path":"/Quiet", "value":true},{"op":"remove","path":"/Users/bel/Message"},{"op":"remove","path":"/Users/zach/Message"},{"op":"remove","path":"/Users/chase/Message"},{"op":"remove","path":"/Users/mason/Message"},{"op":"remove","path":"/Users/nat/Message"},{"op":"remove","path":"/Users/roxy/Message"},{"op":"remove","path":"/Users/bill/Message"}]' python3 ./hotwords.py' ## `mayhem-party` diff --git a/config.d/mayhem-party.d/v01.yaml b/config.d/mayhem-party.d/v01.yaml index b21b35e..80befc4 100644 --- a/config.d/mayhem-party.d/v01.yaml +++ b/config.d/mayhem-party.d/v01.yaml @@ -4,7 +4,7 @@ feedback: users: bel: player: 2 - message: its bel + message: "" broadcast: player: 0 message: "8"