From: Maxim Raznatovski Date: Fri, 3 Jan 2025 10:55:24 +0000 (+0100) Subject: Fix: Disable the DSP by default (#1824) X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=1b9500a34f2427480f9bd27b0edda79ab3f01fdd;p=music-assistant-server.git Fix: Disable the DSP by default (#1824) Co-authored-by: Marcel van der Veldt --- 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