fix error volume

This commit is contained in:
Lurkars 2022-02-13 12:15:52 +01:00
parent 284b8e5d3b
commit 8df63846f6

View File

@ -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(