diff --git a/music_assistant/helpers/audio.py b/music_assistant/helpers/audio.py index 72e6b6e59..4f0aed98f 100644 --- a/music_assistant/helpers/audio.py +++ b/music_assistant/helpers/audio.py @@ -185,7 +185,7 @@ async def strip_silence( return stripped_data -def get_dsp_details(mass: MusicAssistant, player: Player) -> DSPDetails: +def get_player_dsp_details(mass: MusicAssistant, player: Player) -> DSPDetails: """Return DSP details of single a player.""" dsp_config = mass.config.get_player_dsp_config(player.player_id) dsp_state = DSPState.ENABLED if dsp_config.enabled else DSPState.DISABLED @@ -216,7 +216,7 @@ def get_stream_dsp_details( # We skip the PlayerGroups as they don't provide an audio output # by themselves, but only sync other players. if not player.provider.startswith("player_group"): - details = get_dsp_details(mass, player) + details = get_player_dsp_details(mass, player) details.is_leader = True dsp[player.player_id] = details @@ -224,7 +224,7 @@ def get_stream_dsp_details( # grouped playback, get DSP details for each player in the group for child_id in player.group_childs: if child_player := mass.players.get(child_id): - dsp[child_id] = get_dsp_details(mass, child_player) + dsp[child_id] = get_player_dsp_details(mass, child_player) return dsp