HA/MaryTTS/MPD Bug?

I’m just checking in here first before submitting the issue to the HA github project.

Everything is running off of the same system/localhost.

Developer Tools -> SERVICES
Service: tts.marytts_say
Service data: {“message”: “hello world”}


Feb 13 02:24:45 computerName hass[196024]: 2020-02-13 02:24:45 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: Wrong tts file format!

Feb 13 02:24:45 computerName mpd[195474]: exception: Failed to decode http://<private_ip>:8123/api/tts_proxy/2aae6c35c94fcfb415dbe95f408b9ce91ee846ed_en_us_5470814253323254900_marytts.wave_file

Feb 13 02:24:45 computerName mpd[195474]: exception: nested: CURL failed: The requested URL returned error: 404 Not Found

Feb 13 02:24:45 computerName mpd[195474]: player: played “http://<private_ip>:8123/api/tts_proxy/2aae6c35c94fcfb415dbe95f408b9ce91ee846ed_en_us_5470814253323254900_marytts.wave_file”

Feb 13 02:24:46 computerName hass[196024]: 2020-02-13 02:24:46 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: Wrong tts file format!

Feb 13 02:24:46 computerName hass[196024]: 2020-02-13 02:24:46 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: Wrong tts file format!

Feb 13 02:24:46 computerName hass[196024]: 2020-02-13 02:24:46 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: Wrong tts file format!

Feb 13 02:24:46 computerName hass[196024]: 2020-02-13 02:24:46 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: Wrong tts file format!

Feb 13 02:24:46 computerName hass[196024]: 2020-02-13 02:24:46 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: Wrong tts file format!


ls -la output: -rw-r–r-- 1 hass hass 170444 Feb 13 02:24 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed_en_us_5470814253323254900_marytts.wave_file

file output: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 48000 Hz

ffplay plays that file when I give myself permission.

I’d like to be able to see/know what HA is receiving to prompt the “Wrong tts file format” log entry.

is this problem solved ?

Given that I’ve not received any response on it here, or my post at https://github.com/home-assistant/core/issues/31854 from over 1 month ago, or the “newer” post from someone else at https://github.com/home-assistant/core/issues/32142 ~1 week later, or that I just tried it again with 0.17.5 and it didn’t work, I’m going to go out on a limb and say that no, it did not work.

The person at the 32142 thread noted the code where the issue likely occurred shows the regex limiting filenames accept and I guess marytts (from what I saw) makes their file names have a full name for the file extension like “<pre_period_characters>.wave_file” instead of “*.wav”.

I have exactly the same problem, no solution yet?