Skip to content

Commit

Permalink
feat: Add DSPDetails for grouped players
Browse files Browse the repository at this point in the history
  • Loading branch information
maximmaxim345 committed Jan 14, 2025
1 parent 047ec8e commit 40ffbf3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions music_assistant_models/streamdetails.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,12 @@ class StreamDetails(DataClassDictMixin):
strip_silence_begin: bool = False
strip_silence_end: bool = False
stream_error: bool | None = None
# In case of grouped playback, this will contain the DSP details for
# the leader (keep in mind that PlayerGroups has no leader!)
dsp: DSPDetails | None = None
# In case of grouped playback, this will contain the DSP details for
# all other players of the group (indexed by player_id)
dsp_grouped_childs: dict[str, DSPDetails] | None = None

def __str__(self) -> str:
"""Return pretty printable string of object."""
Expand Down

0 comments on commit 40ffbf3

Please sign in to comment.