Feat: Add DSP pipeline details to stream information (#1875)
authorMaxim Raznatovski <nda.mr43@gmail.com>
Thu, 16 Jan 2025 17:18:24 +0000 (18:18 +0100)
committerGitHub <noreply@github.com>
Thu, 16 Jan 2025 17:18:24 +0000 (18:18 +0100)
commit892a1f1ef87a9a790e7b70abe1936bda70f338a9
tree2a1063daaf15d32cb2f27b866b0b0746595276eb
parentb33951d301fd1b9609025b0b67c4e4cd817fc8d9
Feat: Add DSP pipeline details to stream information (#1875)

* refactor: add `is_grouping_preventing_dsp()`

* feat: attach DSPDetails to StreamDetails

* refactor: create `get_dsp_details()`

* feat: Attach DSPDetails of all grouped childs to StreamDetails

* fix: playergroups don't have a leader, so don't generate DSPDetails

* refactor: consolidate `dsp` and `dsp_grouped_childs` streamdetails

* refactor: add `get_stream_dsp_details`

* refactor: rename `get_dsp_details` to `get_player_dsp_details`

* feat: update `streamdetails.dsp` on group/ungroup
music_assistant/controllers/player_queues.py
music_assistant/helpers/audio.py