esphome / home-assistant-voice-pe

Home Assistant Voice PE
Other
72 stars 10 forks source link

Add MediaPlayerSupportedFormat #55

Closed synesthesiam closed 2 months ago

synesthesiam commented 2 months ago

Extends the media player info with a list of supported audio formats. This is used in Home Assistant to swap out media URLs going to the ESPHome device with proxy URLs that contain the converted audio.

Also adds supported media formats to the Nabu media player.

Depends on the following PRs:

synesthesiam commented 2 months ago

Thanks @nielsnl68

jesserockz commented 2 months ago

I think any api component changes should be PR'd into the main ESPHome repo instead of this repo as external otherwise we have no idea what is changed here or there. (It's not good to override such core/important components with external_components)

synesthesiam commented 2 months ago

Closed in favor of: https://github.com/esphome/esphome/pull/7318