From c20470cdf05c8c9cf0bd3628524c374a0f9cca0d Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Sun, 26 Oct 2025 21:22:25 +0100 Subject: [PATCH] better quoting. Curse you bash! --- justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 3aacfdc..188d38c 100644 --- a/justfile +++ b/justfile @@ -13,7 +13,7 @@ start-server voice=default-voice: python3 -m piper.http_server --data-dir voices -m {{voice}} say-now phrase voice=default-voice: - echo "{{phrase}}" | piper -m voices/{{voice}} -f - | ffplay -nodisp -autoexit - + echo $'{{phrase}}' | piper -m voices/{{voice}} -f - | ffplay -nodisp -autoexit - say phrase voice=default-voice: - curl -X POST -H 'Content-Type: application/json' -d '{ "text": "{{phrase}}", "voice": "{{voice}}" }' localhost:5000 | ffplay -nodisp -autoexit - + curl -X POST -H 'Content-Type: application/json' -d $'{ "text": "{{phrase}}", "voice": "{{voice}}" }' localhost:5000 | ffplay -nodisp -autoexit -