esphome / home-assistant-voice-pe

Home Assistant Voice PE
Other
42 stars 7 forks source link

Add MediaPlayerSupportedFormat #55

Closed synesthesiam closed 1 month ago

synesthesiam commented 1 month 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 1 month ago

Thanks @nielsnl68

jesserockz commented 1 month 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 1 month ago

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