Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It seemed the server mode was missing an HTTP handler for the play operation which is available in CLI mode. Tested briefly.
Example usage:
$ go-google-home/cmd/ghcli$ ./ghcli -toml default.toml server -port 8084
Also works with Google translate's TTS links, which also lets one specify the accent, unlike the /speak endpoint:
$ curl --header "Content-Type: application/json" --request POST --data '{"text": "https://translate.google.com/translate_tts?ie=UTF-8&client=tw-ob&tl=en-uk&q=I+love+coffee"}' http://localhost:8084/play