Chime TTS - Play audio before/after TTS audio lag free

You can include it here as code:

Behind the scenes Chime TTS uses the media_player.play_media action for Sonos playback, so unfortunately these limitations arenโ€™t something ChimeTTS can get around.

Nim. Is this what you needed?

2024-10-28 14:20:13.766 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
2024-10-28 14:20:13.767 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•‘ Chime TTS Say Called. Version v1.1.5 โ•‘
2024-10-28 14:20:13.767 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
2024-10-28 14:20:13.767 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-10-28 14:20:13.769 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 14:20:13.769 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ General Parameters โ”‚
2024-10-28 14:20:13.769 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 14:20:13.769 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * entity_ids = ['media_player.darrells_office_homepod']
2024-10-28 14:20:13.770 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * chime_path = /media/chime.mp3
2024-10-28 14:20:13.770 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * cache = True
2024-10-28 14:20:13.770 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * offset = 450.0
2024-10-28 14:20:13.770 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * final_delay = 0.0
2024-10-28 14:20:13.770 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * message = Test of TTS
2024-10-28 14:20:13.771 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_platform = cloud
2024-10-28 14:20:13.771 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_speed = 100.0
2024-10-28 14:20:13.771 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_pitch = 0
2024-10-28 14:20:13.771 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * announce = True
2024-10-28 14:20:13.771 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * fade_audio = False
2024-10-28 14:20:13.771 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * volume_level = 0.8
2024-10-28 14:20:13.771 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * join_players = False
2024-10-28 14:20:13.773 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * unjoin_players = False
2024-10-28 14:20:13.773 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * media_players_array:
2024-10-28 14:20:13.773 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] - 0: entity_id: media_player.darrells_office_homepod
2024-10-28 14:20:13.773 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] platform: apple_tv
2024-10-28 14:20:13.773 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] initial volume: 0.54
2024-10-28 14:20:13.773 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] target volume: 0.8
2024-10-28 14:20:13.773 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] now playing: False
2024-10-28 14:20:13.773 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] join supported: False
2024-10-28 14:20:13.774 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] announce supported: False
2024-10-28 14:20:13.774 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 14:20:13.774 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Preparing Audio โ”‚
2024-10-28 14:20:13.774 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 14:20:13.774 DEBUG (MainThread) [custom_components.chime_tts] *** Checking Chime TTS audio cache ***
2024-10-28 14:20:13.776 DEBUG (MainThread) [custom_components.chime_tts] Cached audio found:
2024-10-28 14:20:13.776 DEBUG (MainThread) [custom_components.chime_tts] - local_path = "/media/sounds/temp/chime_tts/zksd0u65.mp3"
2024-10-28 14:20:13.776 DEBUG (MainThread) [custom_components.chime_tts] - audio_duration = 3.931
2024-10-28 14:20:13.776 DEBUG (MainThread) [custom_components.chime_tts] - public_path = None
2024-10-28 14:20:13.777 DEBUG (MainThread) [custom_components.chime_tts] - media_content_id = "media-source://media_source/local/sounds/temp/chime_tts/zksd0u65.mp3"
2024-10-28 14:20:13.777 DEBUG (MainThread) [custom_components.chime_tts] ...cached audio found
2024-10-28 14:20:13.777 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 14:20:13.777 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Pre-Playback Actions โ”‚
2024-10-28 14:20:13.777 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 14:20:13.777 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] Increasing media_player.darrells_office_homepod's volume from 0.54 to 0.8
2024-10-28 14:20:13.777 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - Setting media_player.darrells_office_homepod's volume to 0.8
2024-10-28 14:20:13.884 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - โœ”๏ธ media_player.darrells_office_homepod's volume now 0.8
2024-10-28 14:20:13.884 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 14:20:13.884 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Chime TTS playback โ”‚
2024-10-28 14:20:13.884 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 14:20:13.884 DEBUG (MainThread) [custom_components.chime_tts] 1 Regular media player detected:
2024-10-28 14:20:13.885 DEBUG (MainThread) [custom_components.chime_tts] - media_player.darrells_office_homepod
2024-10-28 14:20:13.885 DEBUG (MainThread) [custom_components.chime_tts] Calling media_player.play_media with data:
2024-10-28 14:20:13.885 DEBUG (MainThread) [custom_components.chime_tts] - entity_id: ['media_player.darrells_office_homepod']
2024-10-28 14:20:13.885 DEBUG (MainThread) [custom_components.chime_tts] - announce: True
2024-10-28 14:20:13.885 DEBUG (MainThread) [custom_components.chime_tts] - media_content_type: music
2024-10-28 14:20:13.885 DEBUG (MainThread) [custom_components.chime_tts] - media_content_id: media-source://media_source/local/sounds/temp/chime_tts/zksd0u65.mp3
2024-10-28 14:20:13.892 DEBUG (MainThread) [custom_components.chime_tts] - Waiting 3.931s for audio playback to complete...
2024-10-28 14:20:17.825 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - Waiting until 1 media_player isn't playing...
2024-10-28 14:20:17.825 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] โœ” media_player.darrells_office_homepod
2024-10-28 14:20:17.826 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 14:20:17.826 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Post-Playback Actions โ”‚
2024-10-28 14:20:17.826 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 14:20:17.827 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] Decreasing media_player.darrells_office_homepod's volume from 0.8 to 0.54
2024-10-28 14:20:17.827 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - Setting media_player.darrells_office_homepod's volume to 0.54
2024-10-28 14:20:17.844 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - โœ”๏ธ media_player.darrells_office_homepod's volume now 0.54
2024-10-28 14:20:17.844 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 14:20:17.844 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚โ”€โ”€โ”€โ”€ Chime TTS Say Completed in 4.08 s โ”€โ”€โ”€โ”€โ”‚
2024-10-28 14:20:17.844 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 14:20:24.902 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall media_player.play_media (c:01JBAG0DHX1X17NXANQK5ZJJ0C): entity_id=['media_player.darrells_office_homepod'], announce=True, extra=, media_type=music, media_id=media-source://media_source/local/sounds/temp/chime_tts/zksd0u65.mp3>

Perfect, thank you. The log shows that you replayed a cached file. Can you please perform the action again but this time disable the cache parameter?

OK, done. Symptoms are the same - no audio at all out of the HomePod.

2024-10-28 14:48:07.020 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
2024-10-28 14:48:07.020 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•‘ Chime TTS Say Called. Version v1.1.5 โ•‘
2024-10-28 14:48:07.020 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
2024-10-28 14:48:07.021 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-10-28 14:48:07.023 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 14:48:07.023 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ General Parameters โ”‚
2024-10-28 14:48:07.023 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 14:48:07.023 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * entity_ids = ['media_player.darrells_office_homepod']
2024-10-28 14:48:07.024 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * chime_path = /media/chime.mp3
2024-10-28 14:48:07.024 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * cache = False
2024-10-28 14:48:07.024 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * offset = 450.0
2024-10-28 14:48:07.024 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * final_delay = 0.0
2024-10-28 14:48:07.025 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * message = Test of TTS
2024-10-28 14:48:07.025 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_platform = cloud
2024-10-28 14:48:07.025 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_speed = 100.0
2024-10-28 14:48:07.025 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_pitch = 0
2024-10-28 14:48:07.026 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * announce = True
2024-10-28 14:48:07.026 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * fade_audio = False
2024-10-28 14:48:07.026 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * volume_level = 0.8
2024-10-28 14:48:07.026 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * join_players = False
2024-10-28 14:48:07.028 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * unjoin_players = False
2024-10-28 14:48:07.029 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * media_players_array:
2024-10-28 14:48:07.029 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] - 0: entity_id: media_player.darrells_office_homepod
2024-10-28 14:48:07.029 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] platform: apple_tv
2024-10-28 14:48:07.029 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] initial volume: 0.54
2024-10-28 14:48:07.030 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] target volume: 0.8
2024-10-28 14:48:07.030 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] now playing: False
2024-10-28 14:48:07.030 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] join supported: False
2024-10-28 14:48:07.030 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] announce supported: False
2024-10-28 14:48:07.030 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 14:48:07.030 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Preparing Audio โ”‚
2024-10-28 14:48:07.030 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 14:48:07.034 DEBUG (MainThread) [custom_components.chime_tts] - Retrieving audio from path: "/media/chime.mp3"...
2024-10-28 14:48:07.313 DEBUG (MainThread) [custom_components.chime_tts] ...audio retrieved. Duration: 1.249s
2024-10-28 14:48:07.315 DEBUG (MainThread) [custom_components.chime_tts] - Generating new TTS audio with parameters:
2024-10-28 14:48:07.316 DEBUG (MainThread) [custom_components.chime_tts] * tts_platform = 'cloud'
2024-10-28 14:48:07.316 DEBUG (MainThread) [custom_components.chime_tts] * message = 'Test of TTS'
2024-10-28 14:48:07.316 DEBUG (MainThread) [custom_components.chime_tts] * cache = False
2024-10-28 14:48:07.316 DEBUG (MainThread) [custom_components.chime_tts] * language = None
2024-10-28 14:48:07.316 DEBUG (MainThread) [custom_components.chime_tts] * options = {}
2024-10-28 14:48:07.582 DEBUG (MainThread) [custom_components.chime_tts] ...TTS audio generated in 270.0ms
2024-10-28 14:48:07.601 DEBUG (MainThread) [custom_components.chime_tts] - Saving mp3 file to local folder: /media/sounds/temp/chime_tts/...
2024-10-28 14:48:07.940 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /media/sounds/temp/chime_tts/miy2how0.mp3
2024-10-28 14:48:08.229 DEBUG (MainThread) [custom_components.chime_tts] - Chime TTS audio generated:
2024-10-28 14:48:08.229 DEBUG (MainThread) [custom_components.chime_tts] * audio_duration = 3.931
2024-10-28 14:48:08.229 DEBUG (MainThread) [custom_components.chime_tts] * local_path = "/media/sounds/temp/chime_tts/miy2how0.mp3"
2024-10-28 14:48:08.229 DEBUG (MainThread) [custom_components.chime_tts] * public_path = None
2024-10-28 14:48:08.229 DEBUG (MainThread) [custom_components.chime_tts] * media_content_id = "media-source://media_source/local/sounds/temp/chime_tts/miy2how0.mp3"
2024-10-28 14:48:08.230 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 14:48:08.230 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Pre-Playback Actions โ”‚
2024-10-28 14:48:08.230 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 14:48:08.230 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] Increasing media_player.darrells_office_homepod's volume from 0.54 to 0.8
2024-10-28 14:48:08.230 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - Setting media_player.darrells_office_homepod's volume to 0.8
2024-10-28 14:48:08.336 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - โœ”๏ธ media_player.darrells_office_homepod's volume now 0.8
2024-10-28 14:48:08.336 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 14:48:08.336 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Chime TTS playback โ”‚
2024-10-28 14:48:08.336 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 14:48:08.337 DEBUG (MainThread) [custom_components.chime_tts] 1 Regular media player detected:
2024-10-28 14:48:08.337 DEBUG (MainThread) [custom_components.chime_tts] - media_player.darrells_office_homepod
2024-10-28 14:48:08.337 DEBUG (MainThread) [custom_components.chime_tts] Calling media_player.play_media with data:
2024-10-28 14:48:08.337 DEBUG (MainThread) [custom_components.chime_tts] - entity_id: ['media_player.darrells_office_homepod']
2024-10-28 14:48:08.338 DEBUG (MainThread) [custom_components.chime_tts] - announce: True
2024-10-28 14:48:08.338 DEBUG (MainThread) [custom_components.chime_tts] - media_content_type: music
2024-10-28 14:48:08.338 DEBUG (MainThread) [custom_components.chime_tts] - media_content_id: media-source://media_source/local/sounds/temp/chime_tts/miy2how0.mp3
2024-10-28 14:48:08.346 DEBUG (MainThread) [custom_components.chime_tts] - Waiting 3.931s for audio playback to complete...
2024-10-28 14:48:12.284 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - Waiting until 1 media_player isn't playing...
2024-10-28 14:48:12.284 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] โœ” media_player.darrells_office_homepod
2024-10-28 14:48:12.284 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 14:48:12.284 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Post-Playback Actions โ”‚
2024-10-28 14:48:12.285 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 14:48:12.285 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] Decreasing media_player.darrells_office_homepod's volume from 0.8 to 0.54
2024-10-28 14:48:12.285 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - Setting media_player.darrells_office_homepod's volume to 0.54
2024-10-28 14:48:12.318 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - โœ”๏ธ media_player.darrells_office_homepod's volume now 0.54
2024-10-28 14:48:12.319 DEBUG (MainThread) [custom_components.chime_tts] Removing temporary file:
2024-10-28 14:48:12.321 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Deleting file /media/sounds/temp/chime_tts/miy2how0.mp3
2024-10-28 14:48:12.322 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 14:48:12.322 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚โ”€โ”€โ”€โ”€ Chime TTS Say Completed in 5.3 s โ”€โ”€โ”€โ”€โ”‚
2024-10-28 14:48:12.322 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 14:48:19.282 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall media_player.play_media (c:01JBAHKGRJ21P2A7PA9DS9DJVR): entity_id=['media_player.darrells_office_homepod'], announce=True, extra=, media_type=music, media_id=media-source://media_source/local/sounds/temp/chime_tts/miy2how0.mp3>

There doesnโ€™t appear to be anything wrong in the log messages. I suggest you enable the cache option so that you can retrieve the MP3 and try to play it on your computer, to rule it out as the issue.

I read that some HomePod users are having issues with playback after upgrading to iOS 18. The fix was to remove the HomePod entity and then add them again. Perhaps try that?

@kvutter & @ColtonYYZ I have just released a new beta, v1.1.6-beta4 with fixes for Alexa Media Player, including changing the <audio src="filepath"/> double quotes to single.

Can you please upgrade and let me know if thereโ€™s any change?

I think I found an easy fix, but need to test further. Just create a group helper with all the required Sonos entities and use that new generated entity for chime tts.

The result was a simultaneous echo free playback on both devices, announce function worked and volume was submitted perfectly. The previous playlist and volumes was resumed afterwards.

I hope this helps

1 Like

Thanks, Nim.

So, I blew away my original automation and created a brand new one. The path for the custom chime file was: /local/sounds/chime.mp3 (screen show below confirms the chime.mp3 files is in this location).

I tried running it first on my HomePod (which Iโ€™m only using as a local test device to avoid spamming the whole house), then on my Sonos speaker. The symptoms were identical on both. This time, no chime is played, but the audio message is announced. The log file (attached below) suggests it had issues creating a composite file. This suggests a file path issue, but not sure what it is.

If I use the pre-canned tones, they seem to work fine. (I actually tried moving my mp3 file into the same directory as the precanned audio files, but sadly wasnโ€™t able to select it :frowning: )

2024-10-28 15:11:27.933 WARNING (MainThread) [custom_components.chime_tts] Unable to generate local audio filepath
2024-10-28 15:12:15.734 WARNING (MainThread) [custom_components.chime_tts] Unable to generate local audio filepath
2024-10-28 15:12:39.048 WARNING (MainThread) [custom_components.chime_tts] Unable to generate local audio filepath
2024-10-28 15:13:26.612 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
2024-10-28 15:13:26.613 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•‘ Chime TTS Say Called. Version v1.1.5 โ•‘
2024-10-28 15:13:26.613 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
2024-10-28 15:13:26.613 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-10-28 15:13:26.614 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 15:13:26.615 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ General Parameters โ”‚
2024-10-28 15:13:26.615 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 15:13:26.615 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * entity_ids = ['media_player.darrells_office_homepod']
2024-10-28 15:13:26.615 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * chime_path = /local/sounds/chime.mp3
2024-10-28 15:13:26.615 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * cache = False
2024-10-28 15:13:26.616 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * offset = 450.0
2024-10-28 15:13:26.616 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * final_delay = 0.0
2024-10-28 15:13:26.616 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * message = Test of TTS
2024-10-28 15:13:26.616 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_platform = cloud
2024-10-28 15:13:26.616 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_speed = 100.0
2024-10-28 15:13:26.616 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_pitch = 0
2024-10-28 15:13:26.617 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * announce = True
2024-10-28 15:13:26.617 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * fade_audio = False
2024-10-28 15:13:26.617 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * volume_level = 0.8
2024-10-28 15:13:26.617 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * join_players = False
2024-10-28 15:13:26.617 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * unjoin_players = False
2024-10-28 15:13:26.617 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * media_players_array:
2024-10-28 15:13:26.620 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] - 0: entity_id: media_player.darrells_office_homepod
2024-10-28 15:13:26.620 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] platform: apple_tv
2024-10-28 15:13:26.621 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] initial volume: 0.54
2024-10-28 15:13:26.621 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] target volume: 0.8
2024-10-28 15:13:26.621 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] now playing: False
2024-10-28 15:13:26.621 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] join supported: False
2024-10-28 15:13:26.622 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] announce supported: False
2024-10-28 15:13:26.622 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 15:13:26.622 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Preparing Audio โ”‚
2024-10-28 15:13:26.622 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 15:13:26.627 WARNING (MainThread) [custom_components.chime_tts] Unable to generate local audio filepath
2024-10-28 15:13:26.628 DEBUG (MainThread) [custom_components.chime_tts] - Generating new TTS audio with parameters:
2024-10-28 15:13:26.629 DEBUG (MainThread) [custom_components.chime_tts] * tts_platform = 'cloud'
2024-10-28 15:13:26.629 DEBUG (MainThread) [custom_components.chime_tts] * message = 'Test of TTS'
2024-10-28 15:13:26.629 DEBUG (MainThread) [custom_components.chime_tts] * cache = False
2024-10-28 15:13:26.629 DEBUG (MainThread) [custom_components.chime_tts] * language = None
2024-10-28 15:13:26.629 DEBUG (MainThread) [custom_components.chime_tts] * options = {}
2024-10-28 15:13:26.913 DEBUG (MainThread) [custom_components.chime_tts] ...TTS audio generated in 280.0ms
2024-10-28 15:13:26.913 DEBUG (MainThread) [custom_components.chime_tts] - Saving mp3 file to local folder: /media/sounds/temp/chime_tts/...
2024-10-28 15:13:27.098 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /media/sounds/temp/chime_tts/tf5gop03.mp3
2024-10-28 15:13:27.365 DEBUG (MainThread) [custom_components.chime_tts] - Chime TTS audio generated:
2024-10-28 15:13:27.365 DEBUG (MainThread) [custom_components.chime_tts] * audio_duration = 2.232
2024-10-28 15:13:27.365 DEBUG (MainThread) [custom_components.chime_tts] * local_path = "/media/sounds/temp/chime_tts/tf5gop03.mp3"
2024-10-28 15:13:27.366 DEBUG (MainThread) [custom_components.chime_tts] * public_path = None
2024-10-28 15:13:27.366 DEBUG (MainThread) [custom_components.chime_tts] * media_content_id = "media-source://media_source/local/sounds/temp/chime_tts/tf5gop03.mp3"
2024-10-28 15:13:27.366 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 15:13:27.366 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Pre-Playback Actions โ”‚
2024-10-28 15:13:27.366 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 15:13:27.366 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] Increasing media_player.darrells_office_homepod's volume from 0.54 to 0.8
2024-10-28 15:13:27.366 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - Setting media_player.darrells_office_homepod's volume to 0.8
2024-10-28 15:13:27.448 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - โœ”๏ธ media_player.darrells_office_homepod's volume now 0.8
2024-10-28 15:13:27.449 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 15:13:27.449 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Chime TTS playback โ”‚
2024-10-28 15:13:27.449 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 15:13:27.449 DEBUG (MainThread) [custom_components.chime_tts] 1 Regular media player detected:
2024-10-28 15:13:27.450 DEBUG (MainThread) [custom_components.chime_tts] - media_player.darrells_office_homepod
2024-10-28 15:13:27.452 DEBUG (MainThread) [custom_components.chime_tts] Calling media_player.play_media with data:
2024-10-28 15:13:27.453 DEBUG (MainThread) [custom_components.chime_tts] - entity_id: ['media_player.darrells_office_homepod']
2024-10-28 15:13:27.453 DEBUG (MainThread) [custom_components.chime_tts] - announce: True
2024-10-28 15:13:27.453 DEBUG (MainThread) [custom_components.chime_tts] - media_content_type: music
2024-10-28 15:13:27.453 DEBUG (MainThread) [custom_components.chime_tts] - media_content_id: media-source://media_source/local/sounds/temp/chime_tts/tf5gop03.mp3
2024-10-28 15:13:27.462 DEBUG (MainThread) [custom_components.chime_tts] - Waiting 2.232s for audio playback to complete...
2024-10-28 15:13:29.696 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - Waiting until 1 media_player isn't playing...
2024-10-28 15:13:33.122 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] โœ” media_player.darrells_office_homepod
2024-10-28 15:13:33.122 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 15:13:33.122 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Post-Playback Actions โ”‚
2024-10-28 15:13:33.123 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 15:13:33.123 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] Decreasing media_player.darrells_office_homepod's volume from 0.8 to 0.54
2024-10-28 15:13:33.123 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - Setting media_player.darrells_office_homepod's volume to 0.54
2024-10-28 15:13:33.593 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - โœ”๏ธ media_player.darrells_office_homepod's volume now 0.54
2024-10-28 15:13:33.593 DEBUG (MainThread) [custom_components.chime_tts] Removing temporary file:
2024-10-28 15:13:33.596 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Deleting file /media/sounds/temp/chime_tts/tf5gop03.mp3
2024-10-28 15:13:33.597 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 15:13:33.597 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚โ”€โ”€โ”€โ”€ Chime TTS Say Completed in 6.98 s โ”€โ”€โ”€โ”€โ”‚
2024-10-28 15:13:33.597 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Thanks for the additional information :+1:

I believe the path you need to use for your custom chime file is:
/config/www/sounds/chime.mp3

I was just going to say, itโ€™s the path of his files.

saved to: /media/sounds/temp/chime_tts/f2i3i_ji.mp3

trying to call it from: media-source://media_source/local/sounds/temp/chime_tts/f2i3i_ji.mp3

equivalent folder path: media-source://media_source/config/www/sounds/temp/chime_tts/f2i3i_ji.mp3

Theyโ€™re not the same folder.

@Nimrod_Dolev!

Still didnโ€™t work. Here are my logs:

2024-10-28 18:55:44.983 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
2024-10-28 18:55:44.983 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•‘ Chime TTS Say Called. Version v1.1.6-beta4 โ•‘
2024-10-28 18:55:44.983 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
2024-10-28 18:55:44.983 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-10-28 18:55:45.086 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 18:55:45.087 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ General Parameters โ”‚
2024-10-28 18:55:45.087 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 18:55:45.087 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * entity_ids:
2024-10-28 18:55:45.087 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 0: media_player.colton_s_echo_show
2024-10-28 18:55:45.087 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 1: media_player.bathroom_echo_show_5
2024-10-28 18:55:45.087 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 2: media_player.couch_echo_left_amz
2024-10-28 18:55:45.087 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 3: media_player.kitchen_echo_plus_amz
2024-10-28 18:55:45.087 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * chime_path = /config/www/mp3/ooh-that-feels-good.mp3
2024-10-28 18:55:45.087 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * cache = False
2024-10-28 18:55:45.087 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * offset = 450.0
2024-10-28 18:55:45.088 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * final_delay = 0.0
2024-10-28 18:55:45.088 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_platform = amazon_polly
2024-10-28 18:55:45.088 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_speed = 100.0
2024-10-28 18:55:45.088 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_pitch = 0
2024-10-28 18:55:45.088 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * announce = False
2024-10-28 18:55:45.088 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * fade_audio = False
2024-10-28 18:55:45.088 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * volume_level = -1
2024-10-28 18:55:45.088 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * join_players = True
2024-10-28 18:55:45.088 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * unjoin_players = True
2024-10-28 18:55:45.088 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-10-28 18:55:45.088 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * media_players_array:
2024-10-28 18:55:45.088 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 0: entity_id: media_player.colton_s_echo_show
2024-10-28 18:55:45.088 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      platform: alexa_media
2024-10-28 18:55:45.089 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      initial volume: -1.0
2024-10-28 18:55:45.089 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      target volume: -1.0
2024-10-28 18:55:45.089 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      now playing: False
2024-10-28 18:55:45.089 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      join supported: False
2024-10-28 18:55:45.089 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      announce supported: False
2024-10-28 18:55:45.089 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 1: entity_id: media_player.bathroom_echo_show_5
2024-10-28 18:55:45.089 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      platform: alexa_media
2024-10-28 18:55:45.089 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      initial volume: -1.0
2024-10-28 18:55:45.089 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      target volume: -1.0
2024-10-28 18:55:45.089 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      now playing: False
2024-10-28 18:55:45.089 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      join supported: False
2024-10-28 18:55:45.089 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      announce supported: False
2024-10-28 18:55:45.089 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 2: entity_id: media_player.couch_echo_left_amz
2024-10-28 18:55:45.089 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      platform: alexa_media
2024-10-28 18:55:45.090 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      initial volume: -1.0
2024-10-28 18:55:45.090 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      target volume: -1.0
2024-10-28 18:55:45.090 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      now playing: False
2024-10-28 18:55:45.090 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      join supported: False
2024-10-28 18:55:45.090 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      announce supported: False
2024-10-28 18:55:45.090 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 3: entity_id: media_player.kitchen_echo_plus_amz
2024-10-28 18:55:45.090 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      platform: alexa_media
2024-10-28 18:55:45.090 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      initial volume: -1.0
2024-10-28 18:55:45.090 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      target volume: -1.0
2024-10-28 18:55:45.090 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      now playing: False
2024-10-28 18:55:45.090 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      join supported: False
2024-10-28 18:55:45.090 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      announce supported: False
2024-10-28 18:55:45.090 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 18:55:45.090 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Preparing Audio โ”‚
2024-10-28 18:55:45.091 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 18:55:45.095 DEBUG (MainThread) [custom_components.chime_tts]  - Retrieving audio from path: "/config/www/mp3/ooh-that-feels-good.mp3"...
2024-10-28 18:55:45.191 DEBUG (MainThread) [custom_components.chime_tts]    ...audio retrieved. Duration: 1.999s
2024-10-28 18:55:45.191 DEBUG (MainThread) [custom_components.chime_tts]  - Saving mp3 file to public folder: /config/www/chime_tts/...
2024-10-28 18:55:45.255 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /config/www/chime_tts/d_f6bgag.mp3
2024-10-28 18:55:45.255 DEBUG (MainThread) [custom_components.chime_tts]   - Performing FFmpeg audio conversion...
2024-10-28 18:55:45.294 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File failed compatibility requirements: /config/www/chime_tts/d_f6bgag.mp3
2024-10-28 18:55:45.294 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] Running FFmpeg operation: "ffmpeg -i /config/www/chime_tts/d_f6bgag.mp3 -y -ac 2 -codec:a libmp3lame -b:a 48k -ar 24000 -write_xing 0 /config/www/chime_tts/d_f6bgag_converted.mp3"
2024-10-28 18:55:45.352 DEBUG (MainThread) [custom_components.chime_tts]     ...FFmpeg audio conversion completed.
2024-10-28 18:55:45.440 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Local file path for external URL is '/config/www/chime_tts/d_f6bgag.mp3'
2024-10-28 18:55:45.440 DEBUG (MainThread) [custom_components.chime_tts]  - Chime TTS audio generated:
2024-10-28 18:55:45.440 DEBUG (MainThread) [custom_components.chime_tts]    * audio_duration = 2.064
2024-10-28 18:55:45.440 DEBUG (MainThread) [custom_components.chime_tts]    * local_path = None
2024-10-28 18:55:45.440 DEBUG (MainThread) [custom_components.chime_tts]    * public_path = "https://<redacted>.ui.nabu.casa/local/chime_tts/d_f6bgag.mp3"
2024-10-28 18:55:45.440 DEBUG (MainThread) [custom_components.chime_tts]    * media_content_id = None
2024-10-28 18:55:45.440 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 18:55:45.440 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Pre-Playback Actions โ”‚
2024-10-28 18:55:45.440 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 18:55:45.440 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 required.
2024-10-28 18:55:45.440 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 18:55:45.441 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Chime TTS playback โ”‚
2024-10-28 18:55:45.441 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 18:55:45.441 DEBUG (MainThread) [custom_components.chime_tts]    4 Alexa media players detected:
2024-10-28 18:55:45.441 DEBUG (MainThread) [custom_components.chime_tts]      - media_player.colton_s_echo_show
2024-10-28 18:55:45.441 DEBUG (MainThread) [custom_components.chime_tts]      - media_player.bathroom_echo_show_5
2024-10-28 18:55:45.441 DEBUG (MainThread) [custom_components.chime_tts]      - media_player.couch_echo_left_amz
2024-10-28 18:55:45.441 DEBUG (MainThread) [custom_components.chime_tts]      - media_player.kitchen_echo_plus_amz
2024-10-28 18:55:45.441 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Local file path for external URL is '/config/www/chime_tts/d_f6bgag.mp3'
2024-10-28 18:55:45.481 DEBUG (MainThread) [custom_components.chime_tts]    Calling notify.alexa_media with data:
2024-10-28 18:55:45.481 DEBUG (MainThread) [custom_components.chime_tts]      - message: <audio src='https://<redacted>.ui.nabu.casa/local/chime_tts/d_f6bgag.mp3'/>
2024-10-28 18:55:45.481 DEBUG (MainThread) [custom_components.chime_tts]      - data: {'type': 'tts'}
2024-10-28 18:55:45.481 DEBUG (MainThread) [custom_components.chime_tts]      - target: ['media_player.colton_s_echo_show', 'media_player.bathroom_echo_show_5', 'media_player.couch_echo_left_amz', 'media_player.kitchen_echo_plus_amz']
2024-10-28 18:55:45.482 DEBUG (MainThread) [custom_components.chime_tts]  - Waiting 2.064s for audio playback to complete...
2024-10-28 18:55:47.548 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]  - Waiting until 4 media_players aren't playing...
2024-10-28 18:55:47.548 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]    โœ” media_player.colton_s_echo_show
2024-10-28 18:55:47.548 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]    โœ” media_player.bathroom_echo_show_5
2024-10-28 18:55:47.549 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]    โœ” media_player.couch_echo_left_amz
2024-10-28 18:55:47.549 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]    โœ” media_player.kitchen_echo_plus_amz
2024-10-28 18:55:47.549 DEBUG (MainThread) [custom_components.chime_tts] Removing temporary file:
2024-10-28 18:55:47.549 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Deleting file /config/www/chime_tts/d_f6bgag.mp3
2024-10-28 18:55:47.550 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 18:55:47.550 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚โ”€โ”€โ”€โ”€ Chime TTS Say Completed in 2.47 s โ”€โ”€โ”€โ”€โ”‚
2024-10-28 18:55:47.550 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Excellent. Now weโ€™re getting somewhere. I used the path as you suggested, and sent the TTS to both my HomePod and Sonos. The Sonos worked perfectly (playing my custom mp3 file, then the text), whereas nothing came out of the HomePod.

So, Iโ€™m wondering why? If the HomePod can play your MP3 files, but not mine seems a bit weird.

Anyway, the default speaker system in the house (where the announcements are needed) are the 7 Sonos speakers that form a HA Group, so Iโ€™m happy itโ€™s working there.

Next steps is to make sure it syncs across all speakers, rather than just the one I am testing with, then update my existing automations with ChimeTTS.

Cheers and many thanks for being patient.

And here are my logs for 1.1.5 beta 1 that does in fact work - just in case itโ€™s helpful to compare any differences? I dunno. lol

2024-10-28 19:03:56.356 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
2024-10-28 19:03:56.356 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•‘ Chime TTS Say Called. Version v1.1.5-beta1 โ•‘
2024-10-28 19:03:56.356 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
2024-10-28 19:03:56.356 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-10-28 19:03:56.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 19:03:56.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ General Parameters โ”‚
2024-10-28 19:03:56.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 19:03:56.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * entity_ids:
2024-10-28 19:03:56.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 0: media_player.kitchen_echo_plus_amz
2024-10-28 19:03:56.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 1: media_player.colton_s_echo_show
2024-10-28 19:03:56.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 2: media_player.couch_echo_left_amz
2024-10-28 19:03:56.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 3: media_player.bathroom_echo_show_5
2024-10-28 19:03:56.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * chime_path = /config/www/mp3/ooh-that-feels-good.mp3
2024-10-28 19:03:56.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * cache = False
2024-10-28 19:03:56.360 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * offset = 450.0
2024-10-28 19:03:56.360 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * final_delay = 0.0
2024-10-28 19:03:56.360 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_platform = amazon_polly
2024-10-28 19:03:56.360 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_speed = 100.0
2024-10-28 19:03:56.360 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_pitch = 0
2024-10-28 19:03:56.360 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * announce = False
2024-10-28 19:03:56.360 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * fade_audio = False
2024-10-28 19:03:56.360 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * volume_level = -1
2024-10-28 19:03:56.360 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * join_players = True
2024-10-28 19:03:56.360 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * unjoin_players = True
2024-10-28 19:03:56.360 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-10-28 19:03:56.360 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * media_players_array:
2024-10-28 19:03:56.361 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 0: entity_id: media_player.kitchen_echo_plus_amz
2024-10-28 19:03:56.361 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      platform: alexa_media
2024-10-28 19:03:56.361 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      initial volume: 0.2
2024-10-28 19:03:56.362 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      target volume: -1.0
2024-10-28 19:03:56.362 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      now playing: False
2024-10-28 19:03:56.362 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      join supported: False
2024-10-28 19:03:56.362 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      announce supported: False
2024-10-28 19:03:56.363 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 1: entity_id: media_player.colton_s_echo_show
2024-10-28 19:03:56.363 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      platform: alexa_media
2024-10-28 19:03:56.363 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      initial volume: -1.0
2024-10-28 19:03:56.363 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      target volume: -1.0
2024-10-28 19:03:56.363 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      now playing: False
2024-10-28 19:03:56.363 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      join supported: False
2024-10-28 19:03:56.363 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      announce supported: False
2024-10-28 19:03:56.363 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 2: entity_id: media_player.couch_echo_left_amz
2024-10-28 19:03:56.363 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      platform: alexa_media
2024-10-28 19:03:56.363 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      initial volume: 0.33
2024-10-28 19:03:56.363 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      target volume: -1.0
2024-10-28 19:03:56.363 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      now playing: False
2024-10-28 19:03:56.363 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      join supported: False
2024-10-28 19:03:56.364 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      announce supported: False
2024-10-28 19:03:56.364 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 3: entity_id: media_player.bathroom_echo_show_5
2024-10-28 19:03:56.364 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      platform: alexa_media
2024-10-28 19:03:56.364 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      initial volume: 0.2
2024-10-28 19:03:56.364 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      target volume: -1.0
2024-10-28 19:03:56.364 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      now playing: False
2024-10-28 19:03:56.364 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      join supported: False
2024-10-28 19:03:56.364 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      announce supported: False
2024-10-28 19:03:56.364 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 19:03:56.364 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Preparing Audio โ”‚
2024-10-28 19:03:56.364 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 19:03:56.368 DEBUG (MainThread) [custom_components.chime_tts]  - Retrieving audio from path: "/config/www/mp3/ooh-that-feels-good.mp3"...
2024-10-28 19:03:56.462 DEBUG (MainThread) [custom_components.chime_tts]    ...audio retrieved. Duration: 1.999s
2024-10-28 19:03:56.462 DEBUG (MainThread) [custom_components.chime_tts]  - Saving mp3 file to public folder: /config/www/chime_tts/...
2024-10-28 19:03:56.524 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /config/www/chime_tts/toclyl8f.mp3
2024-10-28 19:03:56.524 DEBUG (MainThread) [custom_components.chime_tts]   - Performing FFmpeg audio conversion...
2024-10-28 19:03:56.525 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] Running FFMpeg operation: "ffmpeg -i /config/www/chime_tts/toclyl8f.mp3 -y -ac 2 -codec:a libmp3lame -b:a 48k -ar 24000 -write_xing 0 /config/www/chime_tts/toclyl8f_converted.mp3"
2024-10-28 19:03:56.582 DEBUG (MainThread) [custom_components.chime_tts]     ...FFmpeg audio conversion completed.
2024-10-28 19:03:56.666 ERROR (MainThread) [custom_components.chime_tts.helpers.media_player_helper] Media file "%s" is not in a local media directory. See https://www.home-assistant.io/more-info/local-media/setup-media/
2024-10-28 19:03:56.671 DEBUG (MainThread) [custom_components.chime_tts]  - Chime TTS audio generated:
2024-10-28 19:03:56.671 DEBUG (MainThread) [custom_components.chime_tts]    * audio_duration = 2.064
2024-10-28 19:03:56.671 DEBUG (MainThread) [custom_components.chime_tts]    * local_path = None
2024-10-28 19:03:56.671 DEBUG (MainThread) [custom_components.chime_tts]    * public_path = "https://<redacted>.ui.nabu.casa/local/chime_tts/toclyl8f.mp3"
2024-10-28 19:03:56.671 DEBUG (MainThread) [custom_components.chime_tts]    * media_content_id = None
2024-10-28 19:03:56.671 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 19:03:56.671 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Pre-Playback Actions โ”‚
2024-10-28 19:03:56.671 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 19:03:56.671 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 required.
2024-10-28 19:03:56.671 ERROR (MainThread) [custom_components.chime_tts.helpers.media_player_helper] Media file "%s" is not in a local media directory. See https://www.home-assistant.io/more-info/local-media/setup-media/
2024-10-28 19:03:56.671 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 19:03:56.671 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Chime TTS playback โ”‚
2024-10-28 19:03:56.671 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 19:03:56.671 DEBUG (MainThread) [custom_components.chime_tts]    4 Alexa media players detected:
2024-10-28 19:03:56.671 DEBUG (MainThread) [custom_components.chime_tts]      - media_player.kitchen_echo_plus_amz
2024-10-28 19:03:56.671 DEBUG (MainThread) [custom_components.chime_tts]      - media_player.colton_s_echo_show
2024-10-28 19:03:56.671 DEBUG (MainThread) [custom_components.chime_tts]      - media_player.couch_echo_left_amz
2024-10-28 19:03:56.671 DEBUG (MainThread) [custom_components.chime_tts]      - media_player.bathroom_echo_show_5
2024-10-28 19:03:56.672 DEBUG (MainThread) [custom_components.chime_tts]    Calling notify.alexa_media with data:
2024-10-28 19:03:56.672 DEBUG (MainThread) [custom_components.chime_tts]      - message: <audio src="https://<redacted>.ui.nabu.casa/local/chime_tts/toclyl8f.mp3"/>
2024-10-28 19:03:56.672 DEBUG (MainThread) [custom_components.chime_tts]      - data: {'type': 'tts'}
2024-10-28 19:03:56.672 DEBUG (MainThread) [custom_components.chime_tts]      - target: ['media_player.kitchen_echo_plus_amz', 'media_player.colton_s_echo_show', 'media_player.couch_echo_left_amz', 'media_player.bathroom_echo_show_5']
2024-10-28 19:03:56.673 DEBUG (MainThread) [custom_components.chime_tts]  - Waiting 2.064s for audio playback to complete...
2024-10-28 19:03:58.737 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]  - Waiting until 4 media_players aren't playing...
2024-10-28 19:03:58.738 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]    โœ” media_player.kitchen_echo_plus_amz
2024-10-28 19:03:58.738 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]    โœ” media_player.colton_s_echo_show
2024-10-28 19:03:58.738 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]    โœ” media_player.couch_echo_left_amz
2024-10-28 19:03:58.738 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]    โœ” media_player.bathroom_echo_show_5
2024-10-28 19:03:58.738 DEBUG (MainThread) [custom_components.chime_tts] Removing temporary file:
2024-10-28 19:03:58.738 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] No file at path local/chime_tts/toclyl8f.mp3 - unable to delete
2024-10-28 19:03:58.738 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 19:03:58.739 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚โ”€โ”€โ”€โ”€ Chime TTS Say Completed in 2.38 s โ”€โ”€โ”€โ”€โ”‚
2024-10-28 19:03:58.739 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Iโ€™m trying to setup the integration but Iโ€™m getting this error

This error originated from a custom integration.

Logger: custom_components.chime_tts
Source: custom_components/chime_tts/__init__.py:680
integration: Chime TTS (documentation, issues)
First occurred: 4:06:54 PM (1 occurrences)
Last logged: 4:06:54 PM

The google_translate platform was not found. Please check that it has been configured correctly: https://www.home-assistant.io/integrations/#text-to-speech

The chime sound plays but no message follows. I confirmed that google translate is setup. Iโ€™m trying to do this on a homepod.

hey @mirage01! Could you provide your logs so Nimrod_Dolev can troubleshoot? You can enable them by going to HACS, Chime_TTS, and enable debugging. Run the automation/task, then go back into HACS, Chime_TTS and disable logging. It will then generate the logs and provide a pop up asking where to save the file. Then copy all the lines pertaining to Chime_TTS and paste it here for him? Donโ€™t forget to paste it with the formatting. :slight_smile: Thank you!

Here is the log

2024-10-28 15:43:29.543 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_TYPE_MUSIC was used from chime_tts, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.MUSIC instead, please report it to the author of the 'chime_tts' custom integration
2024-10-28 15:48:11.816 ERROR (MainThread) [custom_components.chime_tts]    - Error calling tts.async_get_media_source_audio: No authentication found
2024-10-28 15:48:11.822 WARNING (MainThread) [custom_components.chime_tts] Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'testing chime'}
2024-10-28 15:48:11.822 ERROR (MainThread) [custom_components.chime_tts] async_get_playback_audio_path --> Audio has no duration
2024-10-28 15:48:11.822 ERROR (MainThread) [custom_components.chime_tts] async_get_playback_audio_path --> Unable to generate local audio file
2024-10-28 15:48:25.333 ERROR (MainThread) [custom_components.chime_tts] The google_translate platform was not found. Please check that it has been configured correctly: https://www.home-assistant.io/integrations/#text-to-speech
2024-10-28 15:48:25.334 WARNING (MainThread) [custom_components.chime_tts] Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'testing chime'}
2024-10-28 15:48:25.334 ERROR (MainThread) [custom_components.chime_tts] async_get_playback_audio_path --> Audio has no duration
2024-10-28 15:48:25.335 ERROR (MainThread) [custom_components.chime_tts] async_get_playback_audio_path --> Unable to generate local audio file
2024-10-28 15:50:22.945 ERROR (MainThread) [custom_components.chime_tts] The google_translate platform was not found. Please check that it has been configured correctly: https://www.home-assistant.io/integrations/#text-to-speech
2024-10-28 15:50:22.945 WARNING (MainThread) [custom_components.chime_tts] Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'testing the chime'}
2024-10-28 15:50:24.780 ERROR (MainThread) [root] Failed to parse metadata
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/audio_source.py", line 264, in get_buffered_io_metadata
    return await get_metadata(buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyatv/support/metadata.py", line 26, in get_metadata
    in_file = await loop.run_in_executor(None, _open_file, file)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyatv/support/metadata.py", line 16, in _open_file
    in_file = MediaFile(file)
              ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mediafile.py", line 165, in wrapper
    return mutagen_call('loadfile', '', f, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mediafile.py", line 137, in mutagen_call
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mutagen/_util.py", line 156, in wrapper
    return func(self, h, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mediafile.py", line 1586, in __init__
    raise FileTypeError(self.filename)
mediafile.FileTypeError: 'http://192.168.10.16:8123/media/local/sounds/temp/chime_tts/vlhevlde.mp3?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI4NmQ0MDFmZTMyODM0NmZhOWY1OTdmNWVlY2YyNjViMiIsInBhdGgiOiIvbWVkaWEvbG9jYWwvc291bmRzL3RlbXAvY2hpbWVfdHRzL3ZsaGV2bGRlLm1wMyIsInBhcmFtcyI6W10sImlhdCI6MTczMDE1NTgyMywiZXhwIjoxNzMwMjQyMjIzfQ.cyvQ3KKnvyZOd4yl2TgtiBuDR6SVIdyx58rw8BjgpFM': not in a recognized format
2024-10-28 15:50:24.797 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall media_player.play_media (c:01JBAN5G8PG5DJ42H3ZP6SA2HG): entity_id=['media_player.home_pod_living_room'], announce=False, extra=, media_type=music, media_id=media-source://media_source/local/sounds/temp/chime_tts/vlhevlde.mp3>
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/audio_source.py", line 598, in open
    stream_generator = await loop.run_in_executor(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/miniaudio.py", line 1270, in stream_any
    raise DecodeError("failed to init decoder", result)
miniaudio.DecodeError: ('failed to init decoder', -17)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 2781, in _run_service_call_catch_exceptions
    await coro_or_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/apple_tv/media_player.py", line 345, in async_play_media
    await self.atv.stream.stream_file(media_id)
  File "/usr/local/lib/python3.12/site-packages/pyatv/core/facade.py", line 374, in stream_file
    await self.relay("stream_file")(
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/__init__.py", line 360, in stream_file
    audio_file = await open_source(
                 ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/audio_source.py", line 730, in open_source
    return await InternetSource.open(source, sample_rate, channels, sample_size)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/audio_source.py", line 611, in open
    raise ProtocolError(source.error_message) from ex
pyatv.exceptions.ProtocolError: Got status 404 with message: Not Found
2024-10-28 15:55:18.111 ERROR (MainThread) [custom_components.chime_tts] The google_translate platform was not found. Please check that it has been configured correctly: https://www.home-assistant.io/integrations/#text-to-speech
2024-10-28 15:55:18.111 WARNING (MainThread) [custom_components.chime_tts] Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'testing the chime'}
2024-10-28 15:55:19.806 ERROR (MainThread) [root] Failed to parse metadata
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/audio_source.py", line 264, in get_buffered_io_metadata
    return await get_metadata(buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyatv/support/metadata.py", line 26, in get_metadata
    in_file = await loop.run_in_executor(None, _open_file, file)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyatv/support/metadata.py", line 16, in _open_file
    in_file = MediaFile(file)
              ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mediafile.py", line 165, in wrapper
    return mutagen_call('loadfile', '', f, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mediafile.py", line 137, in mutagen_call
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mutagen/_util.py", line 156, in wrapper
    return func(self, h, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mediafile.py", line 1586, in __init__
    raise FileTypeError(self.filename)
mediafile.FileTypeError: 'http://192.168.10.16:8123/media/local/sounds/temp/chime_tts/i3kpxxtz.mp3?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI4NmQ0MDFmZTMyODM0NmZhOWY1OTdmNWVlY2YyNjViMiIsInBhdGgiOiIvbWVkaWEvbG9jYWwvc291bmRzL3RlbXAvY2hpbWVfdHRzL2kza3B4eHR6Lm1wMyIsInBhcmFtcyI6W10sImlhdCI6MTczMDE1NjExOCwiZXhwIjoxNzMwMjQyNTE4fQ.JvxcLRzpAPYXH7f5ELb0PC8r_aDSXS48RNlDqauwmPo': not in a recognized format
2024-10-28 15:55:19.816 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall media_player.play_media (c:01JBANEGGER1V674V9JQGRQKGQ): entity_id=['media_player.home_pod_living_room'], announce=False, extra=, media_type=music, media_id=media-source://media_source/local/sounds/temp/chime_tts/i3kpxxtz.mp3>
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/audio_source.py", line 598, in open
    stream_generator = await loop.run_in_executor(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/miniaudio.py", line 1270, in stream_any
    raise DecodeError("failed to init decoder", result)
miniaudio.DecodeError: ('failed to init decoder', -17)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 2781, in _run_service_call_catch_exceptions
    await coro_or_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/apple_tv/media_player.py", line 345, in async_play_media
    await self.atv.stream.stream_file(media_id)
  File "/usr/local/lib/python3.12/site-packages/pyatv/core/facade.py", line 374, in stream_file
    await self.relay("stream_file")(
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/__init__.py", line 360, in stream_file
    audio_file = await open_source(
                 ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/audio_source.py", line 730, in open_source
    return await InternetSource.open(source, sample_rate, channels, sample_size)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/audio_source.py", line 611, in open
    raise ProtocolError(source.error_message) from ex
pyatv.exceptions.ProtocolError: Got status 404 with message: Not Found
2024-10-28 15:58:45.040 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: 3b8d3faf9fc47a6ac9ed95d244fa247694d63375_en-us_6e8b81ac47_cloud not in cache!
2024-10-28 15:58:45.140 ERROR (MainThread) [root] Failed to parse metadata
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/mediafile.py", line 137, in mutagen_call
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mutagen/_util.py", line 164, in wrapper_func
    return func(h, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mutagen/_file.py", line 302, in File
    return Kind(fileobj, filename=filething.filename)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mutagen/_file.py", line 48, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.12/site-packages/mutagen/_util.py", line 156, in wrapper
    return func(self, h, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mutagen/id3/_file.py", line 420, in load
    self.info = self._Info(fileobj, offset)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mutagen/_util.py", line 185, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mutagen/mp3/__init__.py", line 401, in __init__
    raise HeaderNotFoundError("can't sync to MPEG frame")
mutagen.mp3.HeaderNotFoundError: can't sync to MPEG frame

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/audio_source.py", line 264, in get_buffered_io_metadata
    return await get_metadata(buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyatv/support/metadata.py", line 26, in get_metadata
    in_file = await loop.run_in_executor(None, _open_file, file)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyatv/support/metadata.py", line 16, in _open_file
    in_file = MediaFile(file)
              ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mediafile.py", line 165, in wrapper
    return mutagen_call('loadfile', '', f, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mediafile.py", line 137, in mutagen_call
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mutagen/_util.py", line 156, in wrapper
    return func(self, h, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mediafile.py", line 1580, in __init__
    self.mgfile = mutagen_call(
                  ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mediafile.py", line 140, in mutagen_call
    raise UnreadableFileError(filename, six.text_type(exc))
mediafile.UnreadableFileError: can't sync to MPEG frame
2024-10-28 15:58:45.155 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Unexpected error for call_service at pos 1: Got status 404 with message: Not Found
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/audio_source.py", line 598, in open
    stream_generator = await loop.run_in_executor(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/miniaudio.py", line 1270, in stream_any
    raise DecodeError("failed to init decoder", result)
miniaudio.DecodeError: ('failed to init decoder', -17)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 525, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 763, in _async_call_service_step
    response_data = await self._async_run_long_action(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 726, in _async_run_long_action
    return await long_task
           ^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/tts/legacy.py", line 156, in async_say_handle
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/apple_tv/media_player.py", line 345, in async_play_media
    await self.atv.stream.stream_file(media_id)
  File "/usr/local/lib/python3.12/site-packages/pyatv/core/facade.py", line 374, in stream_file
    await self.relay("stream_file")(
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/__init__.py", line 360, in stream_file
    audio_file = await open_source(
                 ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/audio_source.py", line 730, in open_source
    return await InternetSource.open(source, sample_rate, channels, sample_size)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/audio_source.py", line 611, in open
    raise ProtocolError(source.error_message) from ex
pyatv.exceptions.ProtocolError: Got status 404 with message: Not Found
2024-10-28 15:58:45.164 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546901535632] Error handling message: Unknown error (unknown_error) Michael from 104.129.199.45 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:131.0) Gecko/20100101 Firefox/131.0)
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/audio_source.py", line 598, in open
    stream_generator = await loop.run_in_executor(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/miniaudio.py", line 1270, in stream_any
    raise DecodeError("failed to init decoder", result)
miniaudio.DecodeError: ('failed to init decoder', -17)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
    await func(hass, connection, msg)
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 816, in handle_execute_script
    script_result = await script_obj.async_run(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1795, in async_run
    return await asyncio.shield(create_eager_task(run.async_run()))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 463, in async_run
    await self._async_step(log_exceptions=False)
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 527, in _async_step
    self._handle_exception(
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 557, in _handle_exception
    raise exception
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 525, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 763, in _async_call_service_step
    response_data = await self._async_run_long_action(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 726, in _async_run_long_action
    return await long_task
           ^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/tts/legacy.py", line 156, in async_say_handle
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/apple_tv/media_player.py", line 345, in async_play_media
    await self.atv.stream.stream_file(media_id)
  File "/usr/local/lib/python3.12/site-packages/pyatv/core/facade.py", line 374, in stream_file
    await self.relay("stream_file")(
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/__init__.py", line 360, in stream_file
    audio_file = await open_source(
                 ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/audio_source.py", line 730, in open_source
    return await InternetSource.open(source, sample_rate, channels, sample_size)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/audio_source.py", line 611, in open
    raise ProtocolError(source.error_message) from ex

Had to break up since it was so long.

raise ProtocolError(source.error_message) from ex
pyatv.exceptions.ProtocolError: Got status 404 with message: Not Found
2024-10-28 15:59:18.690 WARNING (MainThread) [pyatv.support.http] Got response without having a request: HttpResponse(protocol='RTSP', version='1.0', code=200, message='OK', headers={'Date': 'Mon, 28 Oct 2024 22:59:18 GMT', 'Content-Length': '0', 'Server': 'AirTunes/800.74.2', 'CSeq': '11', 'X-Apple-ProcessingTime': '0', 'X-Apple-RequestReceivedTimestamp': '2179360201'}, body='')
2024-10-28 16:00:10.243 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.current_uv_index is taking over 10 seconds
2024-10-28 16:01:56.726 ERROR (MainThread) [custom_components.chime_tts] The google_translate platform was not found. Please check that it has been configured correctly: https://www.home-assistant.io/integrations/#text-to-speech
2024-10-28 16:01:56.726 WARNING (MainThread) [custom_components.chime_tts] Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'Testing chime'}
2024-10-28 16:02:08.107 ERROR (MainThread) [custom_components.chime_tts] The google_translate platform was not found. Please check that it has been configured correctly: https://www.home-assistant.io/integrations/#text-to-speech
2024-10-28 16:02:08.108 WARNING (MainThread) [custom_components.chime_tts] Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'Testing chime'}
2024-10-28 16:02:23.798 ERROR (MainThread) [custom_components.chime_tts] The google_translate platform was not found. Please check that it has been configured correctly: https://www.home-assistant.io/integrations/#text-to-speech
2024-10-28 16:02:23.798 WARNING (MainThread) [custom_components.chime_tts] Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'Testing chime'}
2024-10-28 16:04:52.666 ERROR (MainThread) [custom_components.chime_tts] The google_translate platform was not found. Please check that it has been configured correctly: https://www.home-assistant.io/integrations/#text-to-speech
2024-10-28 16:04:52.667 WARNING (MainThread) [custom_components.chime_tts] Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'Testing chime'}
2024-10-28 16:06:54.801 ERROR (MainThread) [custom_components.chime_tts] The google_translate platform was not found. Please check that it has been configured correctly: https://www.home-assistant.io/integrations/#text-to-speech
2024-10-28 16:06:54.802 WARNING (MainThread) [custom_components.chime_tts] Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'Testing chime'}
2024-10-28 16:07:01.419 WARNING (MainThread) [pyatv.support.http] Got response without having a request: HttpResponse(protocol='RTSP', version='1.0', code=200, message='OK', headers={'Date': 'Mon, 28 Oct 2024 23:07:01 GMT', 'Content-Length': '0', 'Server': 'AirTunes/800.74.2', 'CSeq': '11', 'X-Apple-ProcessingTime': '0', 'X-Apple-RequestReceivedTimestamp': '2179822926'}, body='')
2024-10-28 16:20:47.660 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-10-28 16:20:48.109 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-10-28 16:22:35.444 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
2024-10-28 16:22:35.444 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•‘ Chime TTS Say Called. Version v1.1.5 โ•‘
2024-10-28 16:22:35.444 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
2024-10-28 16:22:35.445 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-10-28 16:22:35.447 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 16:22:35.447 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ General Parameters โ”‚
2024-10-28 16:22:35.447 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 16:22:35.448 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * entity_ids = ['media_player.home_pod_living_room']
2024-10-28 16:22:35.448 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * chime_path = chord
2024-10-28 16:22:35.448 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * cache = False
2024-10-28 16:22:35.448 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * offset = 450.0
2024-10-28 16:22:35.449 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * final_delay = 0.0
2024-10-28 16:22:35.449 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * message = Testing chime
2024-10-28 16:22:35.449 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_platform = google_translate
2024-10-28 16:22:35.452 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_speed = 100.0
2024-10-28 16:22:35.452 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_pitch = 0
2024-10-28 16:22:35.452 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * announce = False
2024-10-28 16:22:35.452 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * fade_audio = False
2024-10-28 16:22:35.453 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * volume_level = -1
2024-10-28 16:22:35.453 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * join_players = False
2024-10-28 16:22:35.453 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * unjoin_players = False
2024-10-28 16:22:35.453 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * media_players_array:
2024-10-28 16:22:35.454 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 0: entity_id: media_player.home_pod_living_room
2024-10-28 16:22:35.454 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      platform: apple_tv
2024-10-28 16:22:35.454 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      initial volume: 0.6299999999999999
2024-10-28 16:22:35.454 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      target volume: -1.0
2024-10-28 16:22:35.454 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      now playing: False
2024-10-28 16:22:35.455 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      join supported: False
2024-10-28 16:22:35.455 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      announce supported: False
2024-10-28 16:22:35.455 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 16:22:35.455 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Preparing Audio โ”‚
2024-10-28 16:22:35.456 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 16:22:35.457 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Local path to chime: /config/custom_components/chime_tts/mp3s/chord.mp3
2024-10-28 16:22:35.458 DEBUG (MainThread) [custom_components.chime_tts]  - Retrieving audio from path: "/config/custom_components/chime_tts/mp3s/chord.mp3"...
2024-10-28 16:22:35.736 DEBUG (MainThread) [custom_components.chime_tts]    ...audio retrieved. Duration: 1.162s
2024-10-28 16:22:35.738 DEBUG (MainThread) [custom_components.chime_tts]  - Generating new TTS audio with parameters:
2024-10-28 16:22:35.739 DEBUG (MainThread) [custom_components.chime_tts]     * tts_platform = 'google_translate'
2024-10-28 16:22:35.739 DEBUG (MainThread) [custom_components.chime_tts]     * message = 'Testing chime'
2024-10-28 16:22:35.739 DEBUG (MainThread) [custom_components.chime_tts]     * cache = False
2024-10-28 16:22:35.739 DEBUG (MainThread) [custom_components.chime_tts]     * language = None
2024-10-28 16:22:35.739 DEBUG (MainThread) [custom_components.chime_tts]     * options = {}
2024-10-28 16:22:35.739 ERROR (MainThread) [custom_components.chime_tts] The google_translate platform was not found. Please check that it has been configured correctly: https://www.home-assistant.io/integrations/#text-to-speech
2024-10-28 16:22:35.739 WARNING (MainThread) [custom_components.chime_tts] Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'Testing chime'}
2024-10-28 16:22:35.740 DEBUG (MainThread) [custom_components.chime_tts]  - Saving mp3 file to local folder: /media/sounds/temp/chime_tts/...
2024-10-28 16:22:35.991 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /media/sounds/temp/chime_tts/nz0dolf1.mp3
2024-10-28 16:22:36.265 DEBUG (MainThread) [custom_components.chime_tts]  - Chime TTS audio generated:
2024-10-28 16:22:36.266 DEBUG (MainThread) [custom_components.chime_tts]    * audio_duration = 1.162
2024-10-28 16:22:36.266 DEBUG (MainThread) [custom_components.chime_tts]    * local_path = "/media/sounds/temp/chime_tts/nz0dolf1.mp3"
2024-10-28 16:22:36.266 DEBUG (MainThread) [custom_components.chime_tts]    * public_path = None
2024-10-28 16:22:36.266 DEBUG (MainThread) [custom_components.chime_tts]    * media_content_id = "media-source://media_source/local/sounds/temp/chime_tts/nz0dolf1.mp3"
2024-10-28 16:22:36.266 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 16:22:36.266 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Chime TTS playback โ”‚
2024-10-28 16:22:36.266 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 16:22:36.267 DEBUG (MainThread) [custom_components.chime_tts]    1 Regular media player detected:
2024-10-28 16:22:36.267 DEBUG (MainThread) [custom_components.chime_tts]      - media_player.home_pod_living_room
2024-10-28 16:22:36.267 DEBUG (MainThread) [custom_components.chime_tts]    Calling media_player.play_media with data:
2024-10-28 16:22:36.267 DEBUG (MainThread) [custom_components.chime_tts]      - entity_id: ['media_player.home_pod_living_room']
2024-10-28 16:22:36.267 DEBUG (MainThread) [custom_components.chime_tts]      - announce: False
2024-10-28 16:22:36.267 DEBUG (MainThread) [custom_components.chime_tts]      - media_content_type: music
2024-10-28 16:22:36.267 DEBUG (MainThread) [custom_components.chime_tts]      - media_content_id: media-source://media_source/local/sounds/temp/chime_tts/nz0dolf1.mp3
2024-10-28 16:22:36.273 DEBUG (MainThread) [custom_components.chime_tts]  - Waiting 1.162s for audio playback to complete...
2024-10-28 16:22:37.440 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]  - Waiting until 1 media_player isn't playing...
2024-10-28 16:22:41.059 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]    ๐˜… media_player.home_pod_living_room - Timed out. Current state: playing
2024-10-28 16:22:41.060 DEBUG (MainThread) [custom_components.chime_tts]  - Timed out waiting for playback to complete
2024-10-28 16:22:41.060 DEBUG (MainThread) [custom_components.chime_tts] Removing temporary file:
2024-10-28 16:22:41.061 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Deleting file /media/sounds/temp/chime_tts/nz0dolf1.mp3
2024-10-28 16:22:41.063 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 16:22:41.064 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚โ”€โ”€โ”€โ”€ Chime TTS Say Completed in 5.62 s โ”€โ”€โ”€โ”€โ”‚
2024-10-28 16:22:41.064 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 16:25:09.255 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
2024-10-28 16:25:09.255 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•‘ Chime TTS Say Called. Version v1.1.5 โ•‘
2024-10-28 16:25:09.255 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
2024-10-28 16:25:09.256 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-10-28 16:25:09.258 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 16:25:09.258 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ General Parameters โ”‚
2024-10-28 16:25:09.258 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 16:25:09.259 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * entity_ids = ['media_player.home_pod_living_room']
2024-10-28 16:25:09.259 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * chime_path = chord
2024-10-28 16:25:09.259 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * cache = False
2024-10-28 16:25:09.259 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * offset = 450.0
2024-10-28 16:25:09.260 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * final_delay = 0.0
2024-10-28 16:25:09.260 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * message = Testing chime
2024-10-28 16:25:09.262 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_platform = google_translate
2024-10-28 16:25:09.262 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_speed = 100.0
2024-10-28 16:25:09.262 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_pitch = 0
2024-10-28 16:25:09.262 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * announce = False
2024-10-28 16:25:09.262 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * fade_audio = False
2024-10-28 16:25:09.263 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * volume_level = -1
2024-10-28 16:25:09.263 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * join_players = False
2024-10-28 16:25:09.263 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * unjoin_players = False
2024-10-28 16:25:09.263 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * media_players_array:
2024-10-28 16:25:09.263 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 0: entity_id: media_player.home_pod_living_room
2024-10-28 16:25:09.263 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      platform: apple_tv
2024-10-28 16:25:09.264 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      initial volume: 0.6299999999999999
2024-10-28 16:25:09.264 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      target volume: -1.0
2024-10-28 16:25:09.264 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      now playing: False
2024-10-28 16:25:09.264 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      join supported: False
2024-10-28 16:25:09.264 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      announce supported: False
2024-10-28 16:25:09.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 16:25:09.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Preparing Audio โ”‚
2024-10-28 16:25:09.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 16:25:09.266 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Local path to chime: /config/custom_components/chime_tts/mp3s/chord.mp3
2024-10-28 16:25:09.266 DEBUG (MainThread) [custom_components.chime_tts]  - Retrieving audio from path: "/config/custom_components/chime_tts/mp3s/chord.mp3"...
2024-10-28 16:25:09.540 DEBUG (MainThread) [custom_components.chime_tts]    ...audio retrieved. Duration: 1.162s
2024-10-28 16:25:09.542 DEBUG (MainThread) [custom_components.chime_tts]  - Generating new TTS audio with parameters:
2024-10-28 16:25:09.542 DEBUG (MainThread) [custom_components.chime_tts]     * tts_platform = 'google_translate'
2024-10-28 16:25:09.542 DEBUG (MainThread) [custom_components.chime_tts]     * message = 'Testing chime'
2024-10-28 16:25:09.542 DEBUG (MainThread) [custom_components.chime_tts]     * cache = False
2024-10-28 16:25:09.543 DEBUG (MainThread) [custom_components.chime_tts]     * language = None
2024-10-28 16:25:09.543 DEBUG (MainThread) [custom_components.chime_tts]     * options = {}
2024-10-28 16:25:09.543 ERROR (MainThread) [custom_components.chime_tts] The google_translate platform was not found. Please check that it has been configured correctly: https://www.home-assistant.io/integrations/#text-to-speech
2024-10-28 16:25:09.543 WARNING (MainThread) [custom_components.chime_tts] Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'Testing chime'}
2024-10-28 16:25:09.543 DEBUG (MainThread) [custom_components.chime_tts]  - Saving mp3 file to local folder: /media/sounds/temp/chime_tts/...
2024-10-28 16:25:09.791 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /media/sounds/temp/chime_tts/sr6ohzwa.mp3
2024-10-28 16:25:10.060 DEBUG (MainThread) [custom_components.chime_tts]  - Chime TTS audio generated:
2024-10-28 16:25:10.061 DEBUG (MainThread) [custom_components.chime_tts]    * audio_duration = 1.162
2024-10-28 16:25:10.061 DEBUG (MainThread) [custom_components.chime_tts]    * local_path = "/media/sounds/temp/chime_tts/sr6ohzwa.mp3"
2024-10-28 16:25:10.061 DEBUG (MainThread) [custom_components.chime_tts]    * public_path = None
2024-10-28 16:25:10.061 DEBUG (MainThread) [custom_components.chime_tts]    * media_content_id = "media-source://media_source/local/sounds/temp/chime_tts/sr6ohzwa.mp3"
2024-10-28 16:25:10.061 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 16:25:10.061 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Chime TTS playback โ”‚
2024-10-28 16:25:10.061 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 16:25:10.061 DEBUG (MainThread) [custom_components.chime_tts]    1 Regular media player detected:
2024-10-28 16:25:10.061 DEBUG (MainThread) [custom_components.chime_tts]      - media_player.home_pod_living_room
2024-10-28 16:25:10.062 DEBUG (MainThread) [custom_components.chime_tts]    Calling media_player.play_media with data:
2024-10-28 16:25:10.062 DEBUG (MainThread) [custom_components.chime_tts]      - entity_id: ['media_player.home_pod_living_room']
2024-10-28 16:25:10.062 DEBUG (MainThread) [custom_components.chime_tts]      - announce: False
2024-10-28 16:25:10.062 DEBUG (MainThread) [custom_components.chime_tts]      - media_content_type: music
2024-10-28 16:25:10.062 DEBUG (MainThread) [custom_components.chime_tts]      - media_content_id: media-source://media_source/local/sounds/temp/chime_tts/sr6ohzwa.mp3
2024-10-28 16:25:10.068 DEBUG (MainThread) [custom_components.chime_tts]  - Waiting 1.162s for audio playback to complete...
2024-10-28 16:25:11.231 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]  - Waiting until 1 media_player isn't playing...
2024-10-28 16:29:20.328 ERROR (MainThread) [custom_components.chime_tts] The google_translate platform was not found. Please check that it has been configured correctly: https://www.home-assistant.io/integrations/#text-to-speech
2024-10-28 16:29:20.329 WARNING (MainThread) [custom_components.chime_tts] Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'Testing chime'}
2024-10-28 16:31:21.552 ERROR (MainThread) [custom_components.chime_tts] The google_translate platform was not found. Please check that it has been configured correctly: https://www.home-assistant.io/integrations/#text-to-speech
2024-10-28 16:31:21.552 WARNING (MainThread) [custom_components.chime_tts] Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'testing the chime'}
2024-10-28 16:33:00.686 ERROR (MainThread) [custom_components.chime_tts] The google_translate platform was not found. Please check that it has been configured correctly: https://www.home-assistant.io/integrations/#text-to-speech
2024-10-28 16:33:00.686 WARNING (MainThread) [custom_components.chime_tts] Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'testing the chime'}
2024-10-28 16:36:43.156 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
2024-10-28 16:36:43.156 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•‘ Chime TTS Say Called. Version v1.1.5 โ•‘
2024-10-28 16:36:43.156 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
2024-10-28 16:36:43.156 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-10-28 16:36:43.159 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 16:36:43.159 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ General Parameters โ”‚
2024-10-28 16:36:43.159 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 16:36:43.159 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * entity_ids = ['media_player.home_pod_living_room']
2024-10-28 16:36:43.160 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * chime_path = toast
2024-10-28 16:36:43.160 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * cache = False
2024-10-28 16:36:43.160 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * offset = 450.0
2024-10-28 16:36:43.160 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * final_delay = 0.0
2024-10-28 16:36:43.160 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * message = testing the chime
2024-10-28 16:36:43.161 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_speed = 100.0
2024-10-28 16:36:43.161 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_pitch = 0
2024-10-28 16:36:43.161 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * announce = False
2024-10-28 16:36:43.161 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * fade_audio = False
2024-10-28 16:36:43.163 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * volume_level = -1
2024-10-28 16:36:43.164 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * join_players = False
2024-10-28 16:36:43.164 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * unjoin_players = False
2024-10-28 16:36:43.164 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * media_players_array:
2024-10-28 16:36:43.164 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 0: entity_id: media_player.home_pod_living_room
2024-10-28 16:36:43.164 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      platform: apple_tv
2024-10-28 16:36:43.164 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      initial volume: 0.63
2024-10-28 16:36:43.165 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      target volume: -1.0
2024-10-28 16:36:43.165 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      now playing: False
2024-10-28 16:36:43.165 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      join supported: False
2024-10-28 16:36:43.165 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      announce supported: False
2024-10-28 16:36:43.165 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 16:36:43.165 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Preparing Audio โ”‚
2024-10-28 16:36:43.165 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 16:36:43.166 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Local path to chime: /config/custom_components/chime_tts/mp3s/toast.mp3
2024-10-28 16:36:43.166 DEBUG (MainThread) [custom_components.chime_tts]  - Retrieving audio from path: "/config/custom_components/chime_tts/mp3s/toast.mp3"...
2024-10-28 16:36:43.442 DEBUG (MainThread) [custom_components.chime_tts]    ...audio retrieved. Duration: 1.786s
2024-10-28 16:36:43.444 DEBUG (MainThread) [custom_components.chime_tts]  - Generating new TTS audio with parameters:
2024-10-28 16:36:43.445 DEBUG (MainThread) [custom_components.chime_tts]     * tts_platform = 'google_translate'
2024-10-28 16:36:43.445 DEBUG (MainThread) [custom_components.chime_tts]     * message = 'testing the chime'
2024-10-28 16:36:43.445 DEBUG (MainThread) [custom_components.chime_tts]     * cache = False
2024-10-28 16:36:43.445 DEBUG (MainThread) [custom_components.chime_tts]     * language = None
2024-10-28 16:36:43.445 DEBUG (MainThread) [custom_components.chime_tts]     * options = {}
2024-10-28 16:36:43.445 ERROR (MainThread) [custom_components.chime_tts] The google_translate platform was not found. Please check that it has been configured correctly: https://www.home-assistant.io/integrations/#text-to-speech
2024-10-28 16:36:43.445 WARNING (MainThread) [custom_components.chime_tts] Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'testing the chime'}
2024-10-28 16:36:43.446 DEBUG (MainThread) [custom_components.chime_tts]  - Saving mp3 file to local folder: /media/sounds/temp/chime_tts/...
2024-10-28 16:36:43.654 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /media/sounds/temp/chime_tts/etptwuoa.mp3
2024-10-28 16:36:43.921 DEBUG (MainThread) [custom_components.chime_tts]  - Chime TTS audio generated:
2024-10-28 16:36:43.921 DEBUG (MainThread) [custom_components.chime_tts]    * audio_duration = 1.786
2024-10-28 16:36:43.921 DEBUG (MainThread) [custom_components.chime_tts]    * local_path = "/media/sounds/temp/chime_tts/etptwuoa.mp3"
2024-10-28 16:36:43.921 DEBUG (MainThread) [custom_components.chime_tts]    * public_path = None
2024-10-28 16:36:43.922 DEBUG (MainThread) [custom_components.chime_tts]    * media_content_id = "media-source://media_source/local/sounds/temp/chime_tts/etptwuoa.mp3"
2024-10-28 16:36:43.922 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 16:36:43.922 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚ Chime TTS playback โ”‚
2024-10-28 16:36:43.922 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2024-10-28 16:36:43.922 DEBUG (MainThread) [custom_components.chime_tts]    1 Regular media player detected:
2024-10-28 16:36:43.922 DEBUG (MainThread) [custom_components.chime_tts]      - media_player.home_pod_living_room
2024-10-28 16:36:43.922 DEBUG (MainThread) [custom_components.chime_tts]    Calling media_player.play_media with data:
2024-10-28 16:36:43.922 DEBUG (MainThread) [custom_components.chime_tts]      - entity_id: ['media_player.home_pod_living_room']
2024-10-28 16:36:43.922 DEBUG (MainThread) [custom_components.chime_tts]      - announce: False
2024-10-28 16:36:43.922 DEBUG (MainThread) [custom_components.chime_tts]      - media_content_type: music
2024-10-28 16:36:43.923 DEBUG (MainThread) [custom_components.chime_tts]      - media_content_id: media-source://media_source/local/sounds/temp/chime_tts/etptwuoa.mp3
2024-10-28 16:36:43.929 DEBUG (MainThread) [custom_components.chime_tts]  - Waiting 1.786s for audio playback to complete...
2024-10-28 16:36:45.717 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]  - Waiting until 1 media_player isn't playing...
2024-10-28 16:36:49.337 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]    ๐˜… media_player.home_pod_living_room - Timed out. Current state: paused
2024-10-28 16:36:49.338 DEBUG (MainThread) [custom_components.chime_tts]  - Timed out waiting for playback to complete
2024-10-28 16:36:49.338 DEBUG (MainThread) [custom_components.chime_tts] Removing temporary file:
2024-10-28 16:36:49.339 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Deleting file /media/sounds/temp/chime_tts/etptwuoa.mp3
2024-10-28 16:36:49.340 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
2024-10-28 16:36:49.340 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ”‚โ”€โ”€โ”€โ”€ Chime TTS Say Completed in 6.18 s โ”€โ”€โ”€โ”€โ”‚
2024-10-28 16:36:49.341 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

I tested the google_translate feature by itself and it works.

Hey Darrell. Itโ€™s still not clear to me why the HomePod canโ€™t play the file.
Can you please try playing a file directly using the media_player.play_media action? I want to confirm whether or not thereโ€™s an underlying issue preventing playback.