-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add an option for skipping ssl verification in media_player.play_media #2179
Comments
+1 |
I am not sure if I understand the technical solution requestes, but I am fully supporitng to make internet radio workinfg on I2S media Player with DAC, |
Internet radio works with plain http streams. In the majority of the cases, the same radio station offers the stream in both http and https, but they usually embed it in websites as https to avoid browser securtity warnings, for those who listen on PCs through web browsers. As a workaround until https gets implemented for media player, it's always worth checking manually (with VLC player for example) if the same stream plays by just removing s from https, and if yes, use that stream instead with ESPHome. |
Thats true. |
Veery frustrating for local tts streams also.... |
Describe the problem you have/What new integration you would like
While using media player to play a file from a url, only http is supported, https doesn't work.
I noticed in the documentation for http requests (https://esphome.io/components/http_request.html) there is an option to disable verification of the ssl certificate (verify_ssl: false).
Is it possible to add such an option to media player so we can play media from https urls?
Please describe your use case for this integration and alternatives you've tried:
Use case: play media from a https url.
Additional context
If there is another way to accomplish this I'm open to suggestions. I'm new to esphome so I don't know too much about it.
Thank you!
The text was updated successfully, but these errors were encountered: