diff --git a/CHANGELOG.md b/CHANGELOG.md index c1b8015b..9140120f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed `MarkAddEvent`, `MarkChangeEvent` and `MarkRemoveEvent` position - Fixed crash of concurrent Windows TTS synthesis ([#223](https://github.com/DCS-gRPC/rust-server/issues/223)) - Fixed file handler left open: Closing config file again after reading it in LUA +- Fixed the config value for `tts.defaultProvider` for Google Cloud to be lowercase `gcloud` (instead of `gCloud`) ## [0.7.1] - 2023-01-08 diff --git a/README.md b/README.md index 0e0a754b..7b7a18f0 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ tts.provider.aws.region = "eu-central-1" -- The default AWS voice to use (see https://docs.aws.amazon.com/polly/latest/dg/voicelist.html). tts.provider.aws.defaultVoice = "Brian" --- Your Google Cloudd access key. +-- Your Google Cloud access key. tts.provider.gcloud.key = "..." -- The default Google Cloud voice to use (see https://cloud.google.com/text-to-speech/docs/voices). diff --git a/src/config.rs b/src/config.rs index 09ecea6a..f626090b 100644 --- a/src/config.rs +++ b/src/config.rs @@ -41,7 +41,7 @@ pub struct TtsProviderConfig { } #[derive(Debug, Clone, Default, Deserialize, Serialize)] -#[serde(rename_all = "camelCase")] +#[serde(rename_all = "lowercase")] pub enum TtsProvider { Aws, Azure,