fix typo
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Sat, 7 May 2022 14:28:38 +0000 (16:28 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Sat, 7 May 2022 14:28:38 +0000 (16:28 +0200)
music_assistant/models/player_queue.py

index ccb22a9f4c7c9ffb7d6522b52150ce54c6f73c89..762d7aa4d57dd3696a60e67e5529ce6a67d43737 100644 (file)
@@ -195,7 +195,6 @@ class QueueSettings:
         if self._volume_normalization_enabled != enabled:
             self._volume_normalization_enabled = enabled
             self._on_update("volume_normalization_enabled")
-            self.save()
 
     @property
     def volume_normalization_target(self) -> float:
@@ -232,7 +231,7 @@ class QueueSettings:
         return {
             "repeat_mode": self.repeat_mode.value,
             "shuffle_enabled": self.shuffle_enabled,
-            "crossfade_mode": self.crossfade_mode,
+            "crossfade_mode": self.crossfade_mode.value,
             "crossfade_duration": self.crossfade_duration,
             "volume_normalization_enabled": self.volume_normalization_enabled,
             "volume_normalization_target": self.volume_normalization_target,