Open Electronlibre2012 opened 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This happens to mee also.
This problem is the same for me. I also try out to play sources from an other server from the network and it works. If I try to play the same sources over "HA Music Assist" the source URL is again the HA and it not playing. In the logs i didn't see errors or problems. Same logs as shown above.
+1
Similar issue, "Component i2s_audio.media_player took a long time for an operation" but has worked once or twice in the past with the same hardware and config.
Turns out for me the cause was trying to play https media urls, which silently fail. See e.g. https://github.com/esphome/feature-requests/issues/2179
try popping this in your configuration.yaml and putting your media files in /config/www/media folder.
homeassistant: media_dirs: media: /config/www
The problem
When i play a mp3 file from my local /media folder, nothing play. In the esp32 media_player its says "playing" but no sound.
Same mp3 file can be played on any other google home.
My i2s media player can play TTS or a lot of radio without issue, so i am sure its not a hardware problem.
i have not use for a while, so i read some report the local files stop working since 2022.11.0 version of HA
Which version of ESPHome has the issue?
2023.4.0
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2023.4.5
What platform are you using?
ESP32
Board
esp-wrover-kit
Component causing the issue
i2s_audio
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
when i play a .mp3 thats NOT WORK:
when i play a TTS message that WORK:
when i play a radio that WORK:
perhaps something has change with "auth", does someone has an idea please? Files served from media are protected by Home Assistant authentication unlike those served from www (as per the doc say).