-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Add DSP pipeline details to stream information #1875
Feat: Add DSP pipeline details to stream information #1875
Conversation
models package has been bumped to unblock this PR |
5bbedd8
to
5b57c2b
Compare
dsp = {} | ||
|
||
# player groups have no (explicit) leader since a player group has no audio output | ||
if not player.provider.startswith("player_group"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the comment seems to imply the reverse of what is happening here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I adjusted the comments to be not as confusing.
338c8cb
to
9324129
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
9324129
to
1e01171
Compare
Depends on: music-assistant/models#32
Companion Frontend PR: music-assistant/frontend#822
Overview
With this PR, details about the DSP are now attached to
streamdetails
, allowing us to display the DSP processing pipeline to the users.Implementation Details
To discern between a user-disabled DSP and a DSP disabled by Music Assistant,
DSPState
was introduced.The DSP field of
StreamDetails
should always be up to date, since:DSPConfig
DSPDetails
are refreshed in case the number of players in the group changesDSPDetails
DSPDetails
is essentially aDSPConfig
with some adjustments to add dynamic information, enabling the frontend to display the DSP pipeline at any desired level of detail.