From 1b9500a34f2427480f9bd27b0edda79ab3f01fdd Mon Sep 17 00:00:00 2001 From: Maxim Raznatovski Date: Fri, 3 Jan 2025 11:55:24 +0100 Subject: [PATCH] Fix: Disable the DSP by default (#1824) Co-authored-by: Marcel van der Veldt --- music_assistant/controllers/config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/music_assistant/controllers/config.py b/music_assistant/controllers/config.py index 6ff7924c..6f9611e9 100644 --- a/music_assistant/controllers/config.py +++ b/music_assistant/controllers/config.py @@ -463,6 +463,7 @@ class ConfigController: # add a tone control filter with the old values, reset the deprecated values and # save this as the new DSP config # TODO: remove this in a future release + dsp_config.enabled = True dsp_config.filters.append( ToneControlFilter( enabled=True, @@ -482,6 +483,9 @@ class ConfigController: self.mass.config.set_raw_player_config_value(player_id, key, 0) self.set(f"{CONF_PLAYER_DSP}/{player_id}", dsp_config.to_dict()) + else: + # The DSP config does not do anything by default, so we disable it + dsp_config.enabled = False return dsp_config -- 2.34.1