From 617bc2a002d388dc04c05b1baaa4f8c2396af7b6 Mon Sep 17 00:00:00 2001 From: Jeremiah Ticket Date: Thu, 5 Oct 2023 12:04:19 -0600 Subject: [PATCH] Added the & char so the script doesn't wait to stop speaking before other script actions run. Script was holding up the sound script. --- autospeak.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autospeak.pl b/autospeak.pl index 83d8d0f..89333c8 100644 --- a/autospeak.pl +++ b/autospeak.pl @@ -45,7 +45,7 @@ sub speak_message { my $SpeechRate = Irssi::settings_get_int("speech_rate"); my $SpeechVoice = Irssi::settings_get_str("speech_voice"); # Speak The Message - system("espeak-ng -v $SpeechVoice -s $SpeechRate \"$summary $body\""); + system("espeak-ng -v $SpeechVoice -s $SpeechRate \"$summary $body\"&"); } # Handle incoming public messages: