* Add support for AAC streaming route
* Add support for AAC audio format
Add a case to properly set to the audio format to AAC if the original format is AAC and the target format can't be determined from the player.
* Remove unnecessary special case for AAC
f"/ugp/{self.player_id}.mp3", self._serve_ugp_stream
)
)
+ self._on_unload_callbacks.append(
+ self.mass.streams.register_dynamic_route(
+ f"/ugp/{self.player_id}.aac", self._serve_ugp_stream
+ )
+ )
# allow grouping with all providers, except the ugp provider itself
self._attr_can_group_with = {
x.instance_id