Here are the v1.1.4-beta3 logs for comparison:
2024-07-17 17:29:21.610 DEBUG (MainThread) [custom_components.chime_tts] ----- Chime TTS Say Called. Version v1.1.4-beta3 -----
2024-07-17 17:29:21.610 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-07-17 17:29:21.715 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ----- General Parameters -----
2024-07-17 17:29:21.715 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * entity_ids:
2024-07-17 17:29:21.716 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] - 0: media_player.bedroom_echo_right_amz
2024-07-17 17:29:21.716 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] - 1: media_player.colton_s_echo_show
2024-07-17 17:29:21.716 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] - 2: media_player.couch_echo_left_amz
2024-07-17 17:29:21.716 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * chime_path = https://<redacted>.ui.nabu.casa/local/mp3/ooh-that-feels-good.mp3
2024-07-17 17:29:21.716 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * cache = False
2024-07-17 17:29:21.716 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * offset = 450.0
2024-07-17 17:29:21.716 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * final_delay = 0.0
2024-07-17 17:29:21.716 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_platform = openai_tts
2024-07-17 17:29:21.716 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_speed = 100.0
2024-07-17 17:29:21.716 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_pitch = 0
2024-07-17 17:29:21.717 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * announce = True
2024-07-17 17:29:21.717 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * fade_audio = False
2024-07-17 17:29:21.717 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * volume_level = 0.35
2024-07-17 17:29:21.717 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * join_players = True
2024-07-17 17:29:21.717 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * unjoin_players = True
2024-07-17 17:29:21.717 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * audio_conversion = -y -ac 2 -codec:a libmp3lame -b:a 48k -ar 24000 -write_xing 0
2024-07-17 17:29:21.717 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * media_players_array:
2024-07-17 17:29:21.717 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] - 0: entity_id: media_player.bedroom_echo_right_amz
2024-07-17 17:29:21.717 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] platform: alexa_media
2024-07-17 17:29:21.717 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] initial volume: -1.0
2024-07-17 17:29:21.717 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] target volume: 0.35
2024-07-17 17:29:21.717 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] now playing: False
2024-07-17 17:29:21.718 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] join supported: False
2024-07-17 17:29:21.718 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] announce supported: False
2024-07-17 17:29:21.718 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] - 1: entity_id: media_player.colton_s_echo_show
2024-07-17 17:29:21.718 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] platform: alexa_media
2024-07-17 17:29:21.718 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] initial volume: -1.0
2024-07-17 17:29:21.718 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] target volume: 0.35
2024-07-17 17:29:21.718 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] now playing: False
2024-07-17 17:29:21.718 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] join supported: False
2024-07-17 17:29:21.718 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] announce supported: False
2024-07-17 17:29:21.718 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] - 2: entity_id: media_player.couch_echo_left_amz
2024-07-17 17:29:21.718 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] platform: alexa_media
2024-07-17 17:29:21.718 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] initial volume: -1.0
2024-07-17 17:29:21.718 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] target volume: 0.35
2024-07-17 17:29:21.718 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] now playing: False
2024-07-17 17:29:21.719 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] join supported: False
2024-07-17 17:29:21.719 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] announce supported: False
2024-07-17 17:29:21.719 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Downloading chime at URL: https://<redacted>.ui.nabu.casa/local/mp3/ooh-that-feels-good.mp3
2024-07-17 17:29:22.222 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Audio downloaded successfully
2024-07-17 17:29:22.387 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /media/sounds/temp/chime_tts/chimes/<redacted>.ui.nabu.casa_local_mp3_ooh-that-feels-good.mp3
2024-07-17 17:29:22.387 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Chime downloaded successfully
2024-07-17 17:29:22.388 DEBUG (MainThread) [custom_components.chime_tts] - Retrieving audio from path: "/media/sounds/temp/chime_tts/chimes/<redacted>.ui.nabu.casa_local_mp3_ooh-that-feels-good.mp3"...
2024-07-17 17:29:22.476 DEBUG (MainThread) [custom_components.chime_tts] ...audio retrieved. Duration: 1.999s
2024-07-17 17:29:22.477 DEBUG (MainThread) [custom_components.chime_tts] - Saving mp3 file to public folder: /config/www/chime_tts/...
2024-07-17 17:29:22.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /config/www/chime_tts/cdfnq06z.mp3
2024-07-17 17:29:22.541 DEBUG (MainThread) [custom_components.chime_tts] - Performing FFmpeg audio conversion...
2024-07-17 17:29:22.542 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] Converting audio: "ffmpeg -i /config/www/chime_tts/cdfnq06z.mp3 -y -ac 2 -codec:a libmp3lame -b:a 48k -ar 24000 -write_xing 0 /config/www/chime_tts/cdfnq06z_converted.mp3"
2024-07-17 17:29:22.602 DEBUG (MainThread) [custom_components.chime_tts] ...FFmpeg audio conversion completed.
2024-07-17 17:29:22.697 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to walk with args ('/config/www',) inside the event loop by custom integration 'chime_tts' at custom_components/chime_tts/helpers/filesystem.py, line 279: for root, _, files in os.walk(directory): (offender: /config/custom_components/chime_tts/helpers/filesystem.py, line 279: for root, _, files in os.walk(directory):), please create a bug report at https://github.com/nimroddolev/chime_tts/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#walk
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/config/custom_components/chime_tts/queue_manager.py", line 38, in async_process_queue
result = await asyncio.wait_for(
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
return await fut
File "/config/custom_components/chime_tts/__init__.py", line 182, in async_say_execute
return await async_prepare_media(hass, params, options, media_players_array, is_say_url, start_time)
File "/config/custom_components/chime_tts/__init__.py", line 289, in async_prepare_media
audio_dict = await async_get_playback_audio_path(params, options)
File "/config/custom_components/chime_tts/__init__.py", line 792, in async_get_playback_audio_path
audio_dict[PUBLIC_PATH_KEY] = filesystem_helper.get_external_url(hass, audio_dict.get(PUBLIC_PATH_KEY, None))
File "/config/custom_components/chime_tts/helpers/filesystem.py", line 296, in get_external_url
if self.file_exists_in_directory(file_path, public_dir) is False:
File "/config/custom_components/chime_tts/helpers/filesystem.py", line 279, in file_exists_in_directory
for root, _, files in os.walk(directory):
2024-07-17 17:29:22.701 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to scandir with args ('/config/www',) inside the event loop by custom integration 'chime_tts' at custom_components/chime_tts/helpers/filesystem.py, line 279: for root, _, files in os.walk(directory): (offender: <frozen os>, line 366: ?), please create a bug report at https://github.com/nimroddolev/chime_tts/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#scandir
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/config/custom_components/chime_tts/queue_manager.py", line 38, in async_process_queue
result = await asyncio.wait_for(
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
return await fut
File "/config/custom_components/chime_tts/__init__.py", line 182, in async_say_execute
return await async_prepare_media(hass, params, options, media_players_array, is_say_url, start_time)
File "/config/custom_components/chime_tts/__init__.py", line 289, in async_prepare_media
audio_dict = await async_get_playback_audio_path(params, options)
File "/config/custom_components/chime_tts/__init__.py", line 792, in async_get_playback_audio_path
audio_dict[PUBLIC_PATH_KEY] = filesystem_helper.get_external_url(hass, audio_dict.get(PUBLIC_PATH_KEY, None))
File "/config/custom_components/chime_tts/helpers/filesystem.py", line 296, in get_external_url
if self.file_exists_in_directory(file_path, public_dir) is False:
File "/config/custom_components/chime_tts/helpers/filesystem.py", line 279, in file_exists_in_directory
for root, _, files in os.walk(directory):
2024-07-17 17:29:22.873 DEBUG (MainThread) [custom_components.chime_tts] - Chime TTS audio generated:
2024-07-17 17:29:22.873 DEBUG (MainThread) [custom_components.chime_tts] * audio_duration = 2.064
2024-07-17 17:29:22.873 DEBUG (MainThread) [custom_components.chime_tts] * local_path = None
2024-07-17 17:29:22.873 DEBUG (MainThread) [custom_components.chime_tts] * public_path = "https://<redacted>.ui.nabu.casa//local/chime_tts/cdfnq06z.mp3"
2024-07-17 17:29:22.873 DEBUG (MainThread) [custom_components.chime_tts] * media_content_id = None
2024-07-17 17:29:22.873 DEBUG (MainThread) [custom_components.chime_tts] ****************************
2024-07-17 17:29:22.873 DEBUG (MainThread) [custom_components.chime_tts] *** Pre-Playback Actions ***
2024-07-17 17:29:22.873 DEBUG (MainThread) [custom_components.chime_tts] ****************************
2024-07-17 17:29:22.873 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] Increasing media_player.bedroom_echo_right_amz's volume from -1.0 to 0.35
2024-07-17 17:29:22.873 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - Setting media_player.bedroom_echo_right_amz's volume to 0.35
2024-07-17 17:29:22.873 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] Increasing media_player.colton_s_echo_show's volume from -1.0 to 0.35
2024-07-17 17:29:22.873 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - Setting media_player.colton_s_echo_show's volume to 0.35
2024-07-17 17:29:22.874 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] Increasing media_player.couch_echo_left_amz's volume from -1.0 to 0.35
2024-07-17 17:29:22.874 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - Setting media_player.couch_echo_left_amz's volume to 0.35
2024-07-17 17:29:22.874 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - โ๏ธ media_player.bedroom_echo_right_amz's volume now -1.0
2024-07-17 17:29:22.874 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - โ๏ธ media_player.colton_s_echo_show's volume now -1.0
2024-07-17 17:29:22.874 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - โ๏ธ media_player.couch_echo_left_amz's volume now -1.0
2024-07-17 17:29:22.874 WARNING (MainThread) [custom_components.chime_tts.helpers.media_player_helper] No media_players were found that support joining speakers into a group. A minimum of 2 is requied.
2024-07-17 17:29:22.874 DEBUG (MainThread) [custom_components.chime_tts] **************************
2024-07-17 17:29:22.874 DEBUG (MainThread) [custom_components.chime_tts] *** Chime TTS playback ***
2024-07-17 17:29:22.874 DEBUG (MainThread) [custom_components.chime_tts] **************************
2024-07-17 17:29:22.874 DEBUG (MainThread) [custom_components.chime_tts] 3 Alexa media players detected:
2024-07-17 17:29:22.874 DEBUG (MainThread) [custom_components.chime_tts] - media_player.bedroom_echo_right_amz
2024-07-17 17:29:22.874 DEBUG (MainThread) [custom_components.chime_tts] - media_player.colton_s_echo_show
2024-07-17 17:29:22.874 DEBUG (MainThread) [custom_components.chime_tts] - media_player.couch_echo_left_amz
2024-07-17 17:29:22.874 DEBUG (MainThread) [custom_components.chime_tts] Calling notify.alexa_media with data:
2024-07-17 17:29:22.874 DEBUG (MainThread) [custom_components.chime_tts] - message: <audio src="https://<redacted>.ui.nabu.casa//local/chime_tts/cdfnq06z.mp3"/>
2024-07-17 17:29:22.874 DEBUG (MainThread) [custom_components.chime_tts] - data: {'type': 'tts'}
2024-07-17 17:29:22.875 DEBUG (MainThread) [custom_components.chime_tts] - target: ['media_player.bedroom_echo_right_amz', 'media_player.colton_s_echo_show', 'media_player.couch_echo_left_amz']
2024-07-17 17:29:22.875 DEBUG (MainThread) [custom_components.chime_tts] - Waiting 2.064s for audio playback to complete...
2024-07-17 17:29:24.941 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - Waiting until 3 media_players aren't playing...
2024-07-17 17:29:24.942 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] โ media_player.bedroom_echo_right_amz
2024-07-17 17:29:24.942 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] โ media_player.colton_s_echo_show
2024-07-17 17:29:24.942 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] โ media_player.couch_echo_left_amz
2024-07-17 17:29:24.942 DEBUG (MainThread) [custom_components.chime_tts] *****************************
2024-07-17 17:29:24.942 DEBUG (MainThread) [custom_components.chime_tts] *** Post-Playback Actions ***
2024-07-17 17:29:24.942 DEBUG (MainThread) [custom_components.chime_tts] *****************************
2024-07-17 17:29:24.942 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] Initial volume for media_player.bedroom_echo_right_amz is unknown. Unable to restore volume.
2024-07-17 17:29:24.942 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] Initial volume for media_player.colton_s_echo_show is unknown. Unable to restore volume.
2024-07-17 17:29:24.942 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] Initial volume for media_player.couch_echo_left_amz is unknown. Unable to restore volume.
2024-07-17 17:29:24.942 DEBUG (MainThread) [custom_components.chime_tts] ----- Chime TTS Say Completed in 3.23 s -----