Adjust volume normalisation default (#909)
authorOzGav <gavnosp@hotmail.com>
Sat, 11 Nov 2023 11:17:35 +0000 (22:17 +1100)
committerGitHub <noreply@github.com>
Sat, 11 Nov 2023 11:17:35 +0000 (12:17 +0100)
* Update config_entries.py

Changes made per the discussion here https://github.com/music-assistant/hass-music-assistant/issues/1501#issuecomment-1786833914

* Update music_assistant/common/models/config_entries.py

* lint

---------

Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
music_assistant/common/models/config_entries.py

index 5824b6622d8bb7c7569156b3dcc6d1e71c0190ad..826b2ba099d5d59f299a2f7acb83f373628da033 100644 (file)
@@ -365,9 +365,10 @@ CONF_ENTRY_VOLUME_NORMALIZATION_TARGET = ConfigEntry(
     key=CONF_VOLUME_NORMALIZATION_TARGET,
     type=ConfigEntryType.INTEGER,
     range=(-30, 0),
-    default_value=-14,
+    default_value=-17,
     label="Target level for volume normalization",
-    description="Adjust average (perceived) loudness to this target level, " "default is -14 LUFS",
+    description="Adjust average (perceived) loudness to this target level, "
+    "default is -17 LUFS \n\n WARNING: Setting levels higher than this may result in clipping",
     depends_on=CONF_VOLUME_NORMALIZATION,
     advanced=True,
 )