fix CI issues

This commit is contained in:
Chris 2024-09-11 07:36:27 +00:00 committed by GitHub
parent 789453d79b
commit 8bdf30f77c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -295,7 +295,7 @@ bool I2SAudioMediaPlayer::connecttouri_(const std::string &uri) {
if (uri.find("tts://", 0) == 0) { if (uri.find("tts://", 0) == 0) {
// format: tts://<lang>:<text> // format: tts://<lang>:<text>
const size_t colon = uri.find(':', 6); const size_t colon = uri.find(':', 6);
if (colon == std::string::npos || colon > 10) { if (colon > 10) {
// language code is expected to be 2-5 characters // language code is expected to be 2-5 characters
ESP_LOGW(TAG, "Invalid TTS URI"); ESP_LOGW(TAG, "Invalid TTS URI");
return false; return false;

View file

@ -124,6 +124,10 @@ lib_deps =
HTTPClient ; http_request,nextion (Arduino built-in) HTTPClient ; http_request,nextion (Arduino built-in)
ESPmDNS ; mdns (Arduino built-in) ESPmDNS ; mdns (Arduino built-in)
DNSServer ; captive_portal (Arduino built-in) DNSServer ; captive_portal (Arduino built-in)
SD ; i2s_audio (Arduino built-in)
SD_MMC ; i2s_audio (Arduino built-in)
SPIFFS ; i2s_audio (Arduino built-in)
FFAT ; i2s_audio (Arduino built-in)
https://github.com/schreibfaul1/ESP32-audioI2S.git#1bc79e547ebb6f917bf82b47bec9b7e6a9b7e314 ; i2s_audio https://github.com/schreibfaul1/ESP32-audioI2S.git#1bc79e547ebb6f917bf82b47bec9b7e6a9b7e314 ; i2s_audio
droscy/esp_wireguard@0.4.2 ; wireguard droscy/esp_wireguard@0.4.2 ; wireguard