esphome / esphome/feature-requests
Add an option for skipping ssl verification in media_player.play_media
- Dominant language
- No language data
- Stars
- 450
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
**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!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by comparing media_player.play_media URL handling with the http_request documentation linked in the issue, especially its verify_ssl option. The change would be complete when media playback from HTTPS URLs supports a documented choice about certificate verification, with the existing HTTP behavior preserved.
Written by the indexing model from the issue text.
Assessment
- Domain
- audio-video-rtc, embedded-iot
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100