Skip to content

Commit

Permalink
Revert "A few small bugfixes and enhancements to playback and enqueui…
Browse files Browse the repository at this point in the history
…ng (#1670)"

This reverts commit 9ee1cd9.
  • Loading branch information
marcelveldt committed Oct 3, 2024
1 parent c7f0af0 commit 588f5e9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions music_assistant/server/providers/hass_players/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,14 +411,6 @@ async def _setup_player(
supported_features=tuple(supported_features),
state=StateMap.get(state["state"], PlayerState.IDLE),
)
# bugfix: correct flow-mode setting for players that do not support media_enque
# remove this after MA release 2.5+
if MediaPlayerEntityFeature.MEDIA_ENQUEUE not in hass_supported_features:
self.mass.config.set_raw_player_config_value(
player.player_id,
CONF_FLOW_MODE,
True,
)
if MediaPlayerEntityFeature.GROUPING in hass_supported_features:
player.can_sync_with = platform_players
self._update_player_attributes(player, state["attributes"])
Expand Down

0 comments on commit 588f5e9

Please sign in to comment.