Commit 83c2a92d authored by Ralf's avatar Ralf
Browse files

further decrease volume

parent e3c757df
......@@ -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 80
volume = 50 if hour >= 21 or hour <= 6 else 70
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