lorniu / go-translate

Translator on Emacs. Supports multiple engines such as Google, Bing, deepL, ChatGPT, StarDict, Youdao and so on.
GNU General Public License v3.0
274 stars 37 forks source link

[BUG?] Can't pass argument to `gts-tts-speaker` #49

Closed ZhaoMingLiu closed 1 year ago

ZhaoMingLiu commented 1 year ago

Because cvlc will not close when finish playing, --play-and-exit must be put in to make cvlc function like mpv, otherwise emacs will freezing until I kill the process running in background...

(setq gts-tts-speaker "cvlc --play-and-exit")

and...

error in process filter: user-error: Error when TTS. (file-missing Searching for program No such file or directory cvlc --play-and-exit)
error in process filter: Error when TTS. (file-missing Searching for program No such file or directory cvlc --play-and-exit)
lorniu commented 1 year ago

Please test.

ZhaoMingLiu commented 1 year ago

work well now!