diff --git a/config.d/mayhem-party.d/v01.yaml b/config.d/mayhem-party.d/v01.yaml index f82e005..2d83feb 100644 --- a/config.d/mayhem-party.d/v01.yaml +++ b/config.d/mayhem-party.d/v01.yaml @@ -4,8 +4,8 @@ feedback: users: bel: meta: - lasttsms: 1680052450309 - lastlag: 676 + lasttsms: 1680322362904 + lastlag: 0 state: player: 2 message: "" diff --git a/git.d/tts.d b/git.d/tts.d index 86b67db..ce354d1 160000 --- a/git.d/tts.d +++ b/git.d/tts.d @@ -1 +1 @@ -Subproject commit 86b67db949e686ae570b73ede729f4efd3216044 +Subproject commit ce354d17885feb509dd3ecee68843e1c6e2c2957 diff --git a/server.sh b/server.sh index 339da28..e866133 100644 --- a/server.sh +++ b/server.sh @@ -54,10 +54,10 @@ _mayhem_party() { _tts() { log launching tts - ( - cd ./git.d/tts.d/larynx.d/ - bash ./run.sh - ) & + pushd ./git.d/tts.d/larynx.d/ + chmod -R 777 ./mnt.d || true + bash ./run.sh + popd } _stt() { @@ -66,7 +66,9 @@ _stt() { ( export HOME="$PWD/mnt.d/stt.d" mkdir -p "$HOME" - pip3 install -r ./requirements.txt + if [ -n "$PIP" ]; then + pip3 install -r ./requirements.txt + fi local device=$( pactl list \ | grep Monitor.Source \