Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to tts.cloud_say #2014

Merged
merged 7 commits into from
Sep 15, 2023
Merged

Add support to tts.cloud_say #2014

merged 7 commits into from
Sep 15, 2023

Conversation

surfingbytes
Copy link
Contributor

Current Alexa notifitaction service doesn't support many languages, and doesn't support tts.cloud_day.
This PR adds support to tts.cloud_say by converting cloud generated mp3 via ffmpeg to format accepted by Alexa, and then playing that mp3. For this to work, HA instance has to be publicly accessible (either via Nabu Casa cloud subscription or any other custom solution), and for that reason, new setting was added to integration configuration.

@alandtse
Copy link
Owner

alandtse commented Sep 7, 2023

Thanks. I can ignore the validate error but please fix the pre-commit requirements.

@surfingbytes
Copy link
Contributor Author

All the pre-commit issues are sorted, except of one. That is "comment", which is not comment, but string literal. But this is taken from original repo and is spread through the code, not just this place.

@alandtse
Copy link
Owner

alandtse commented Sep 9, 2023

The issue is you put code above the docstring. Your code addition needs to be under it.

@alandtse alandtse merged commit a31e05f into alandtse:dev Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants