New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I2S Media Player (with MAX98357 DAC) does NOT play most Internet radios #4369
Comments
The other have some issues - like the device is crashing, but this stream I can play without any problems, at least with DAC NS4168. |
So, do you suggest that there might be an issue with MAX98357? In such case how to explain that it plays local files and text to speech, which from logs also seem to be local (logs below)?
And where to find (which logs, which changes/test) what is stopping ESPHome player to play Internet radio. At the end if this is the chip MAX98357 related issue and cannot be fixed, then I believe it should be stated in ESPHome doc for I2S Media Player. |
Strange enough, today trying to do some more test when I clicked on one radio station the player started to play it!
I hope this will help to isolate the issue and find the solution. |
I am seeing exactly the same issue - I have a node mcu 32 with the latest version of HA and esphome and relevant esphome config is:
I can play mp3s from local media or HA dnla server but as soon as I try to play a radio station via the Radio Browser it crashes - here are my logs:
(I have also tried playing radio streams using the "media player: play media" service but that made no difference) |
As in the community forum thread, it seems that this lacks the ability to stream HTTPS although it is unclear where it is losing the stream. Can anyone confirm that this happens with modules other than MAX98357? I would think it would since the stream should be decoded and passed directly to i2s bus. |
same error, very annoying
|
The problem
I2S Media Player is defined as per dokumentation with MAX98357 DAC module. Works very well playing local (from HA server) mp3 files and also with Text to Spech provided by Nabucasa.
However when I want to play internet radio station (defined in HA and visible in Media folder it does not play. It does not do anything and there is very little (or none) information in logs.
The same radio station works fine on Webbrowser media (in HA) and on other player so it must be related to this particular player
Which version of ESPHome has the issue?
2023.3.2
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2023.3.6
What platform are you using?
ESP32
Board
RPi4
Component causing the issue
I2S Media Player
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
Some similar cases of other users in this tops: https://community.home-assistant.io/t/esp-home-media-player-play-https-media-url/442000/16
No response
The text was updated successfully, but these errors were encountered: