Since a few days, Google Nest mini, won’t play local media or tts generated sentences through the speaker. The tts created mp3 file is saved in the tts directory. The Nest speaker card shows it’s playing, volume is up, but stops within seconds.
The log shows:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/media_source/local_source.py:57
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 7:29:41 (1 occurrences)
Last logged: 7:29:41
[1896120480] Invalid path.
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/media_source/local_source.py", line 55, in async_parse_identifier
raise_if_invalid_path(location)
File "/usr/src/homeassistant/homeassistant/util/__init__.py", line 46, in raise_if_invalid_path
raise ValueError(f"{path} is not a safe path")
ValueError: Manus de papegaai ,Lekker aan het spelen en natuurlijk praten en praten en praten ... (1).mp3 is not a safe path
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 143, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1480, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1515, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 206, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 649, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 692, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 686, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/cast/media_player.py", line 459, in async_play_media
sourced_media = await media_source.async_resolve_media(self.hass, media_id)
File "/usr/src/homeassistant/homeassistant/components/media_source/__init__.py", line 85, in async_resolve_media
return await _get_media_item(hass, media_content_id).async_resolve()
File "/usr/src/homeassistant/homeassistant/components/media_source/models.py", line 83, in async_resolve
return await self.async_media_source().async_resolve_media(self)
File "/usr/src/homeassistant/homeassistant/components/media_source/local_source.py", line 63, in async_resolve_media
source_dir_id, location = self.async_parse_identifier(item)
File "/usr/src/homeassistant/homeassistant/components/media_source/local_source.py", line 57, in async_parse_identifier
raise Unresolvable("Invalid path.") from err
homeassistant.components.media_source.error.Unresolvable: Invalid path.