fix error volume
This commit is contained in:
parent
284b8e5d3b
commit
8df63846f6
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user