Commit e3c757df authored by Ralf's avatar Ralf
Browse files

slightly decrease volume

parent cf7db343
......@@ -12,7 +12,7 @@ def play_sound (what):
return
soundfile = SOUNDS_DIRECTORY + what + '/' + random.choice(soundfiles)
hour = datetime.datetime.time(datetime.datetime.now()).hour
volume = 60 if hour >= 21 or hour <= 6 else 85
volume = 60 if hour >= 21 or hour <= 6 else 80
fire_and_forget_cmd ([SOUNDS_PLAYER, "-volume", str(volume), soundfile], "StateMachine: ")
# convert an absolute nervlist to a relative one
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment