This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

2configs/services/radio/tts: skip empty lines to prevent piper crash

+4
+4
2configs/services/radio/tts.nix
··· 25 25 trap 'rm -rf "$OUTPUT"' EXIT 26 26 SPEAKER=$[ $RANDOM % 900 ] 27 27 while read line; do 28 + # skip empty lines, piper crashes on empty input 29 + if [ -z "$line" ]; then 30 + continue 31 + fi 28 32 filename=$(printf '%04d' $offset).wav 29 33 echo "$line" | 30 34 ${pkgs.piper-tts}/bin/piper \