From 8df63846f6dd4d9d66cf4f4c51e996a651139e6b Mon Sep 17 00:00:00 2001 From: Lurkars Date: Sun, 13 Feb 2022 12:15:52 +0100 Subject: [PATCH] fix error volume --- application/daemon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/daemon.py b/application/daemon.py index cf3e9e8..af15746 100644 --- a/application/daemon.py +++ b/application/daemon.py @@ -114,7 +114,8 @@ class LunieboxDaemon(object): str(self.luniebox.volume)) def error_sound(self): - self.play_sound("/home/pi/luniebox/audio/error.wav", "100") + self.play_sound("/home/pi/luniebox/audio/error.wav", str( + self.luniebox.get_setting('luniebox', 'error_volume', self.volume_max))) def play_sound(self, path, volume): volume_p = subprocess.Popen(