From: qydysky Date: Sun, 10 Jan 2021 06:30:27 +0000 (+0800) Subject: fix X-Git-Tag: v0.5.6~2^2~20 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=893f9a3b7b8b5eb72444cfa69dff64305886f9f3;p=bili_danmu%2F.git fix --- diff --git a/Reply/tts.go b/Reply/tts.go index 209ed13..6ac1c79 100644 --- a/Reply/tts.go +++ b/Reply/tts.go @@ -90,6 +90,6 @@ func TTS(uid,msg string) { var prog = []string{} prog = append(prog, p.Sys().Cdir()+"/tts.mp3") prog = append(prog, strings.Split(tts_prog_set," ")...) - p.Exec().Run(exec.Command(tts_prog, prog...)) + p.Exec().Run(false, tts_prog, prog...) return } \ No newline at end of file diff --git a/demo/config/config_tts.json b/demo/config/config_tts.json index 2ca6d11..dfaf7ca 100644 --- a/demo/config/config_tts.json +++ b/demo/config/config_tts.json @@ -3,6 +3,5 @@ "0gift": "感谢{D}", "0superchat": "感谢{D}", "0multi": "观众:{D}", - "0rank":"{D}", - "29183321":"{D}" + "0rank":"{D}" } \ No newline at end of file