Playing the sound file just once is not enough in my opinion to catch one's attention. I prefer playing it 3 times, so I made the following modification to media.py:
from time import sleep
def play_sound():
for _ in range(3):
subprocess.call(("paplay", SOUND_FILE))
sleep(0.8)
Playing the sound file just once is not enough in my opinion to catch one's attention. I prefer playing it 3 times, so I made the following modification to
media.py
: