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(